Class EntityFilter (original) (raw)
Namespace
Assembly
LiteEntitySystem.dll
public class EntityFilter<T> : AVLTree<T>, IEnumerable<T>, IEnumerable, IEntityFilter where T : InternalEntityType Parameters
T
Inheritance
object
EntityFilter
Implements
Inherited Members
Methods
SubscribeToConstructed(Action, bool)
Called when entity created and synced
callback
call that callback on existing entities in this filter/list
public void SubscribeToConstructed(Action<T> onConstructed, bool callOnExisting)Parameters
onConstructed Action
callOnExisting bool
UnsubscribeToConstructed(Action)
Called when entity created and synced
callback
public void UnsubscribeToConstructed(Action<T> onConstructed)Parameters
onConstructed Action
Events
OnDestroyed
Called when entity is removed/destroyed
public event Action<T> OnDestroyed