Class OnToggleValueChanged
Called when the current value of the toggle has changed.
Inheritance
OnToggleValueChanged
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
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, IAnalyticsIdentifiable, IGraphEventListener
Properties
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
hookName
Declaration
protected override string hookName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
value
The new boolean value of the toggle.
Declaration
[DoNotSerialize]
public ValueOutput value { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
AssignArguments(Flow, bool)
Declaration
protected override void AssignArguments(Flow flow, bool value)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
bool | value |
Overrides
Definition()
Declaration
protected override void Definition()