Class OnDestroy
Called before the machine is destroyed.
Inheritance
OnDestroy
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Events/Lifecycle")]
[UnitOrder(7)]
public sealed class OnDestroy : MachineEventUnit<EmptyEventArgs>, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphEventListener, IGraphElementWithData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IGraphEventHandler<EmptyEventArgs>
Properties
hookName
Declaration
protected override string hookName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Unity.VisualScripting.MachineEventUnit<Unity.VisualScripting.EmptyEventArgs>.hookName