What is the proper way to call HasComponent on an IJobEntity struct in the Execute method.
Execute( in Component1 c1, in Component2 c2, in Entity entity)
{
bool hasC3 = (what goes here).HasComponent<Component3>(entity);
I know a ComponentLookup<Component3> passed into the job can be used, but that doesn't seem correct, if I want to call HasComponent on the entity from parameter. Is there a state.EntityManager or can I / should I pass in a SystemHandle, or is something else intrinsic available?