Version: 2022.2

PlayerSettings.allowedAutorotateToPortrait

切换到手册
public static bool allowedAutorotateToPortrait ;

描述

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