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