Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Toggle

Creates a Toggle with no label.
Read time 1 minuteLast updated 6 days ago

Definition

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

label

The Label text.

Remarks

The default manipulator makes it possible to activate the Toggle with a left mouse click.