Class OnToggleValueChanged
Called when the current value of the toggle has changed.
Inheritance
OnToggleValueChanged
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Events/GUI")]
[TypeIcon(typeof(Toggle))]
[UnitOrder(5)]
public sealed class OnToggleValueChanged : GameObjectEventUnit<bool>, IGraphElementWithData, IGraphEventHandler<bool>, IGameObjectEventUnit, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IGraphEventListener
Properties
hookName
Declaration
protected override string hookName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Unity.VisualScripting.GameObjectEventUnit<System.Boolean>.hookName
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Unity.VisualScripting.GameObjectEventUnit<System.Boolean>.MessageListenerType
value
The new boolean value of the toggle.
Declaration
[DoNotSerialize]
public ValueOutput value { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
AssignArguments(Flow, Boolean)
Declaration
protected override void AssignArguments(Flow flow, bool value)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
Boolean | value |
Overrides
Unity.VisualScripting.EventUnit<System.Boolean>.AssignArguments(Unity.VisualScripting.Flow, System.Boolean)
Definition()
Declaration
protected override void Definition()
Overrides
Unity.VisualScripting.GameObjectEventUnit<System.Boolean>.Definition()