Class OnCancel
Called when the cancel button is pressed.
Inheritance
EventUnit<UnityEngine.EventSystems.BaseEventData>
GameObjectEventUnit<UnityEngine.EventSystems.BaseEventData>
OnCancel
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Events/GUI")]
[UnitOrder(25)]
public sealed class OnCancel : GenericGuiEventUnit, IGraphElementWithData, IGraphEventHandler<BaseEventData>, 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.BaseEventData>.hookName
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Unity.VisualScripting.GameObjectEventUnit<UnityEngine.EventSystems.BaseEventData>.MessageListenerType