Scripting API

Toggle

class in UnityEngine.UIElements · UnityEngine.UIElementsModule · inherits from BaseBoolField

7 of 9 of Unity's membersUnity's documentation

Constructors 1

Toggle()
Toggle(string? label)

Fields 7

static readonly string checkmarkUssClassName
static readonly string inputUssClassName
static readonly string labelUssClassName
static readonly string mixedValuesUssClassName
static readonly string noTextVariantUssClassName
static readonly string textUssClassName
static readonly string ussClassName

Not in Tassix yet 2

InitLabel UpdateMixedValueContent

Checked against Unity

Conformance scenarios that exercise it, recorded in Unity and compared event by event.