Manages callbacks that are connected to when the health of an entity changes.
export class EntityHealthChangedAfterEventSignal { private constructor(); subscribe( callback: (arg0: EntityHealthChangedAfterEvent) => void, options?: EntityEventOptions, ): (arg0: EntityHealthChangedAfterEvent) => void; unsubscribe(callback: (arg0: EntityHealthChangedAfterEvent) => void): void;} Copy
export class EntityHealthChangedAfterEventSignal { private constructor(); subscribe( callback: (arg0: EntityHealthChangedAfterEvent) => void, options?: EntityEventOptions, ): (arg0: EntityHealthChangedAfterEvent) => void; unsubscribe(callback: (arg0: EntityHealthChangedAfterEvent) => void): void;}
Private
Optional
Adds a callback that will be called when the health of an entity changes.
no-restricted-execution - This function can't be called in restricted-execution mode.
early-execution-allowed - This function can be called in early-execution mode.
Removes a callback from being called when the health of an entity changes.
Manages callbacks that are connected to when the health of an entity changes.
Source