Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.57 KB

File metadata and controls

26 lines (17 loc) · 1.57 KB

World.SubscribeEntityDisabled(EntityDisabledHandler) Method

Subscribes an EntityDisabledHandler(Entity) on the current World to be called when an Entity is disabled.

public System.IDisposable SubscribeEntityDisabled(DefaultEcs.EntityDisabledHandler action);

Parameters

action EntityDisabledHandler(Entity)

The EntityDisabledHandler(Entity) to be called.

Returns

System.IDisposable
An System.IDisposable object used to unsubscribe.

Exceptions

System.ArgumentNullException
action is null.