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.

FitMode

enumeration

Description

The size fit mode to use.

Properties

UnconstrainedDon't perform any resizing.
MinSizeResize to the minimum size of the content.
PreferredSizeResize to the preferred size of the content.