PlayerSettings.useOSAutorotation Manual     Reference     Scripting  
Scripting > Editor Classes > PlayerSettings
PlayerSettings.useOSAutorotation

static var useOSAutorotation : boolean

Description

Let the OS autorotate the screen as the device orientation changes.