Makes a rule to observe Entity with a component of type T validating the given ComponentPredicate<T>(T).
public DefaultEcs.EntityQueryBuilder With<T>(DefaultEcs.ComponentPredicate<T> predicate);
T
The type of component.
predicate
DefaultEcs.ComponentPredicate<T>
The ComponentPredicate<T>(T) which needs to be validated.
EntityQueryBuilder
The current EntityQueryBuilder.