protected override void OnCreate() { base.OnCreate(); group = GetEntityQuery(ComponentType.ReadOnly <PostureAnimation.Component>(), ComponentType.ReadOnly <BaseUnitStatus.Component>(), ComponentType.ReadOnly <CombinedAimTracer>()); action = Query; }
protected override void OnCreate() { base.OnCreate(); querySet = new EntityQuerySet(GetEntityQuery( ComponentType.ReadWrite <PostureRoot.Component>(), ComponentType.ReadOnly <PostureRoot.HasAuthority>(), ComponentType.ReadOnly <BaseUnitStatus.Component>(), ComponentType.ReadOnly <Rigidbody>(), ComponentType.ReadOnly <MovementData>()), 5); action = Query; }