LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

AspectRatio

enumeration

Description

Aspect ratio.

This enum is used when modifying and inspecting supported aspect ratios in PlayerSettings.

Properties

AspectOthersUndefined aspect ratios.
Aspect4by34:3 aspect ratio.
Aspect5by45:4 aspect ratio.
Aspect16by1016:10 aspect ratio.
Aspect16by916:9 aspect ratio.