Screen.autorotateToPortrait Manual     Reference     Scripting  
Scripting > Runtime Classes > Screen
Screen.autorotateToPortrait

static var autorotateToPortrait : boolean

Description

Allow auto-rotation to portrait?

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