Version: 2019.2

Screen.autorotateToPortrait

Switch to Manual
public static bool autorotateToPortrait ;

Description

Allow auto-rotation to portrait?

This setting is taken into account when orientation is set to AutoRotation.