Version: 2017.3
public static bool autorotateToPortrait ;

説明

自動で縦回転するのを許可するかどうか

orientation が AutoRotation の場合にこの設定が使用されます。