Version: 2020.2

PlayerSettings.allowedAutorotateToPortrait

切换到手册
public static bool allowedAutorotateToPortrait ;

描述

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