Subscribes a ComponentEnabledHandler<T>(Entity, T) on the current World to be called when a component of type T is enabled.
public System.IDisposable SubscribeComponentEnabled<T>(DefaultEcs.ComponentEnabledHandler<T> action);
T
The type of the component.
action
DefaultEcs.ComponentEnabledHandler<T>
The ComponentEnabledHandler<T>(Entity, T) to be called.
System.IDisposable
An System.IDisposable object used to unsubscribe.
System.ArgumentNullException
action is null.