Toggle
Creates a Toggle with no label.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
Toggle()
Creates a Toggle with no label.
public Toggle()
Toggle(string)
Creates a Toggle with a Label and a default manipulator.
public Toggle(string label)
Parameters
The Label text.
Remarks
The default manipulator makes it possible to activate the Toggle with a left mouse click.