Class OnScrollRectValueChanged
Called when the current value of the scrollbar has changed.
Inheritance
OnScrollRectValueChanged
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
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, 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 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
Definition()
Declaration
protected override void Definition()