言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

PlayerSettings.SetAspectRatio

public 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.