decline-cookies / anvil-unity-dots

Unity DOTS and ECS specific additions and extensions to Anvil
MIT License
4 stars 1 forks source link

AbstractAnvilSystemBase - Expose GetEntityQuery(EntityQueryDesc) #262

Closed mbaker3 closed 1 year ago

mbaker3 commented 1 year ago

Publicly expose GetEntityQuery(EntityQueryDesc) on AbstractAnvilSystemBase so that types that uses the "OwningSystem" pattern can get queries that set define EntityQueryOptions

What is the current behaviour?

There is no way to specify EntityQueryOptions with the more common GetEntityQuery(ComponentType`) overload.

What is the new behaviour?

Developers have access to GetEntityQuery(EntityQueryDesc) so that more advanced queries can be defined for creation.

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?