Subscribes an EntityDisabledHandler(Entity) on the current World to be called when an Entity is disabled.
public System.IDisposable SubscribeEntityDisabled(DefaultEcs.EntityDisabledHandler action);action EntityDisabledHandler(Entity)
The EntityDisabledHandler(Entity) to be called.
System.IDisposable
An System.IDisposable object used to unsubscribe.
System.ArgumentNullException
action is null.