PlayerSettings
- advancedLicense
- allowedAutorotateToLands...
- allowedAutorotateToLands...
- allowedAutorotateToPortrait...
- allowedAutorotateToPortrait
- aotOptions
- apiCompatibilityLevel
- bundleIdentifier
- bundleVersion
- captureSingleScreen
- companyName
- defaultInterfaceOrientation
- defaultIsFullScreen
- defaultScreenHeight
- defaultScreenWidth
- defaultWebScreenHeight
- defaultWebScreenWidth
- displayResolutionDialog
- GetIconsForTargetGroup
- GetIconSizesForTargetGroup
- HasAspectRatio
- iPhoneBundleIdentifier
- keyaliasPass
- keystorePass
- productName
- resolutionDialogBanner
- runInBackground
- SetAspectRatio
- SetIconsForTargetGroup
- strippingLevel
- useAlphaInDashboard
- useMacAppStoreValidation
- useOSAutorotation
- usePlayerLog
- xboxDeployKinectResources
- xboxGenerateSpa
- xboxImageXexFilePath
- xboxSkinOnGPU
- xboxSpaFilePath
- xboxTitleId
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.
宽高比在分辨率对话框时可选的,将在显示器支持的从这个列表启用项目的分辨率。
最后修改:2011年6月27日 Monday 10:19