기술 자료

Unity Engine

Unity Engine

MainToolbarToggle(MainToolbarContent, bool, Action<bool>)

Specify the content and function of a main toolbar toggle.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public MainToolbarToggle(MainToolbarContent content, bool value, Action<bool> valueChanged)

Parameters

The visual content of the toggle.

value

The state of the toggle:
On
or
Off
.

valueChanged

The callback that receives the new state of the toggle when the user selects it.