using System; namespace Unity.VisualScripting { /// /// Called when the cancel button is pressed. /// [UnitCategory("Events/GUI")] [UnitOrder(25)] public sealed class OnCancel : GenericGuiEventUnit { public override Type MessageListenerType => typeof(UnityOnCancelMessageListener); protected override string hookName => EventHooks.OnCancel; } }