Ejemplo n.º 1
0
        protected override void OnCreate()
        {
            base.OnCreate();

            group = GetEntityQuery(ComponentType.ReadOnly <PostureAnimation.Component>(),
                                   ComponentType.ReadOnly <BaseUnitStatus.Component>(),
                                   ComponentType.ReadOnly <CombinedAimTracer>());
            action = Query;
        }
Ejemplo n.º 2
0
        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;
        }