文档

Unity Engine

Unity Engine

Toggle

Creates a Toggle with no label.
阅读时间1 分钟最后更新于 1 个月前

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.