This version of Unity is unsupported.

Toggle Constructor

Declaration

public Toggle();

Description

Creates a Toggle with no label.


Declaration

public Toggle(string label);

Parameters

label The Label text.

Description

Creates a Toggle with a Label and a default manipulator.

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