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

static function SetAspectRatio (aspectRatio : AspectRatio, enable : boolean) : void

Description

Enables the specified aspect ratio.

Aspect Ratios selectable in the Resolution Dialog will be monitor-supported resolutions of enabled items from this list.