Version: 2022.1

Screen.autorotateToPortrait

切换到手册
public static bool autorotateToPortrait ;

描述

Enables auto-rotation to portrait.

Enables auto-rotation to portrait. This property is used when orientation is set to AutoRotation.