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.

Text.preferredWidth

public float preferredWidth;

Description

Called by the layout system.

See Also: ILayoutElement.