Class OnScrollbarValueChanged
Called when the current value of the scrollbar has changed.
Inheritance
OnScrollbarValueChanged
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Events/GUI")]
[TypeIcon(typeof(Scrollbar))]
[UnitOrder(6)]
public sealed class OnScrollbarValueChanged : GameObjectEventUnit<float>, IGraphElementWithData, IGraphEventHandler<float>, 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.Single>.hookName
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Unity.VisualScripting.GameObjectEventUnit<System.Single>.MessageListenerType
value
The new position value of the scrollbar.
Declaration
[DoNotSerialize]
public ValueOutput value { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
AssignArguments(Flow, Single)
Declaration
protected override void AssignArguments(Flow flow, float value)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
Single | value |
Overrides
Unity.VisualScripting.EventUnit<System.Single>.AssignArguments(Unity.VisualScripting.Flow, System.Single)
Definition()
Declaration
protected override void Definition()
Overrides
Unity.VisualScripting.GameObjectEventUnit<System.Single>.Definition()