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

static var autorotateToPortrait : boolean

Description

Specifies whether the keyboard should be automatically rotated to

Portrait orientation to match orientation of the device. Ignored on Android.

// Disallow keyboard to autorotate to Portrait orientation
function Start() {
TouchScreenKeyboard.autorotateToPortrait = false;
}