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