Version: 2022.1

Screen.autorotateToPortrait

切换到手册
public static bool autorotateToPortrait ;

描述

This has the same functionality as Screen.autorotateToPortrait and also mimics platform-specific behavior in the Unity Editor.