Class: EntityRemoveAfterEventSignal
event entityBeta
Allows registration for an event that fires when an entity is removed from the game (for example, unloaded, or a few seconds after they are dead.)
Methods
subscribe()
subscribe(
callback,options?): (arg0) =>void
World Mutation Early Execution Beta
Parameters
callback
(arg0) => void
Function to call.
options?
Additional filtering options for this event.
Returns
Returns a closure that can be used in subsequent unsubscribe operations.
(arg0) => void
Remarks
Will call your function every time an entity is removed from the game.
unsubscribe()
unsubscribe(
callback):void
World Mutation Early Execution Beta
Parameters
callback
(arg0) => void
Returns
void
Remarks
Unsubscribes your function from subsequent calls when an entity is removed.
