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.)
World mutation
Early execution
Function to call.
Optional
Additional filtering options for this event.
Returns a closure that can be used in subsequent unsubscribe operations.
Will call your function every time an entity is removed from the game.
Unsubscribes your function from subsequent calls when an entity is removed.
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.)