Version: 2020.3

PlayerSettings.allowedAutorotateToPortrait

切换到手册
public static bool allowedAutorotateToPortrait ;

描述

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