| Parameter | Description |
|---|---|
| systemState | SystemState of the system that will own the EntityQuery. |
EntityQuery An EntityQuery based on the constraints set in the EntityQueryBuilder
Create an EntityQuery owned by an ISystem's SystemState.
The System owning the systemState object retains this EntityQuery and disposes it at the end of the System's lifespan.
| Parameter | Description |
|---|---|
| systemBase | System that will own the EntityQuery. |
EntityQuery An EntityQuery based on the constraints set in the EntityQueryBuilder
Create an EntityQuery owned by an SystemBase.
The SystemBase argument retains the EntityQuery, and disposes it at the end of that system's lifetime.
| Parameter | Description |
|---|---|
| entityManager | EntityManager that will own the EntityQuery. |
EntityQuery An EntityQuery based on the constraints set in the EntityQueryBuilder.
Create an EntityQuery owned by an EntityManager.
The EntityManager retains the EntityQuery, and disposes it at the end of that EntityManager's corresponding World's lifetime.