Class OnDrag
When draging is occuring this will be called every time the cursor is moved.
Inheritance
EventUnit<UnityEngine.EventSystems.PointerEventData>
GameObjectEventUnit<UnityEngine.EventSystems.PointerEventData>
OnDrag
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Events/GUI")]
[UnitOrder(17)]
public sealed class OnDrag : PointerEventUnit, IGraphElementWithData, IGraphEventHandler<PointerEventData>, 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.EventSystems.PointerEventData>.hookName
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Unity.VisualScripting.GameObjectEventUnit<UnityEngine.EventSystems.PointerEventData>.MessageListenerType