Version: 2023.1

Screen.autorotateToPortrait

切换到手册
public static bool autorotateToPortrait ;

描述

Enables auto-rotation to portrait.

This property is used when orientation is set to AutoRotation.