Version: 2023.1

PlayerSettings.allowedAutorotateToPortrait

切换到手册
public static bool allowedAutorotateToPortrait ;

描述

是否支持自动旋转到纵向模式?