Version: 2023.2

Screen.autorotateToPortrait

切换到手册
public static bool autorotateToPortrait ;

描述

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