Is it possible to ignore the enabled state in a query at the component level?
SystemAPI.Query<EnableableCompA, EnableableCompB>()
// .WithOptions(EntityQueryOptions.IgnoreComponentEnabledState)
EntityQueryOptions.IgnoreComponentEnabledState ignores all Enableables.
I want the query to run only if EnableableCompA is enabled but no matter whether EnableableCompB is enabled or not.
I’m currently using a ComponentLookup to get the desired functionality, but given the query is not the same as an optional query (we know that EnableableCompB exists), I was wondering if this was possible.