Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 3.9 KB

EntityQueryBuilderExtension.md

File metadata and controls

25 lines (20 loc) · 3.9 KB

EntityQueryBuilderExtension Class

Provides set of static methods to create more easily rules on a EntityQueryBuilder instance.

public static class EntityQueryBuilderExtension

Inheritance System.Object 🡒 EntityQueryBuilderExtension

Methods
WhenAdded(this EntityQueryBuilder, Type[]) Makes a rule to obsverve Entity when all component of the given types are added.
WhenAddedEither(this EntityQueryBuilder, Type[]) Makes a rule to observe Entity when one component of the given types is added.
WhenChanged(this EntityQueryBuilder, Type[]) Makes a rule to obsverve Entity when all component of the given types are changed.
WhenChangedEither(this EntityQueryBuilder, Type[]) Makes a rule to observe Entity when one component of the given types is changed.
WhenRemoved(this EntityQueryBuilder, Type[]) Makes a rule to obsverve Entity when all component of the given types are removed.
WhenRemovedEither(this EntityQueryBuilder, Type[]) Makes a rule to observe Entity when one component of the given types is removed.
With(this EntityQueryBuilder, Type[]) Makes a rule to obsverve Entity with all component of the given types.
WithEither(this EntityQueryBuilder, Type[]) Makes a rule to obsverve Entity with at least one component of the given types.
Without(this EntityQueryBuilder, Type[]) Makes a rule to ignore Entity with at least one component of the given types.
WithoutEither(this EntityQueryBuilder, Type[]) Makes a rule to obsverve Entity without at least one component of the given types.