Skip to main content

Entity Queries

Entity queries are crucial part of the ECS package. They find all entities matching some set of components. The base system runs an entity query which matches all entities with the same Main Tag. Information about these entities is then packaged as BaseBehaviorParams and passed around to all behaviors by the BaseSteeringSystem.

Description of the image

SteeringSystemAsset with _9_BirdPredatorTagComponent tag selected as it's Main Tag.

tip

DebugSimpleJobWrapper can help you visualize which entities are matched by the SteeringSystemAsset's main entity query.