namespace Unity.VisualScripting { /// /// Called before the machine is destroyed. /// [UnitCategory("Events/Lifecycle")] [UnitOrder(7)] public sealed class OnDestroy : MachineEventUnit { protected override string hookName => EventHooks.OnDestroy; } }