Subscribes to entities being inserted and removed.

Methods

inserted (entities:EntityId):Void

Called when entities are inserted that match the aspect.

Parameters:

entities

The newly inserted entities' ids.

removed (entities:EntityId):Void

Called when entities are removed that match the aspect.

Parameters:

entities

The removed entities' ids.