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