Class OnDropdownValueChanged
Called when the current value of the dropdown has changed.
Inheritance
object
OnDropdownValueChanged
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitCategory]
[UnitOrderAttribute]
public sealed class OnDropdownValueChanged : GameObjectEventUnit<int>, IGraphElementWithData, IGraphEventHandler<int>, 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
index
The index of the newly selected option.
Declaration
[DoNotSerializeAttribute]
public ValueOutput index { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
text
The text of the newly selected option.
Declaration
[DoNotSerializeAttribute]
public ValueOutput text { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
AssignArguments(Flow, int)
Declaration
protected override void AssignArguments(Flow flow, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow | |
| int | index |
Overrides
Definition()
Declaration
protected override void Definition()
Overrides
Implements
IDisposable