Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

StyleLength

struct in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule


Implements interfaces:IStyleValue<T0>

Description

Style value that can be either a Length or a StyleKeyword.

Properties

keyword The style keyword.
value The Length value.

Constructors

StyleLength Creates from either a Length or a StyleKeyword.