PlayerSettings.SetAspectRatio 设置宽高比

static function SetAspectRatio (aspectRatio : AspectRatio, enable : bool) : 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.

宽高比在分辨率对话框时可选的,将在显示器支持的从这个列表启用项目的分辨率。

Page last updated: 2011-6-27