public override void Tick(int deltaTimeMS)
        {
            if (!this.CouldActive())
            {
                return;
            }

            fsm.Tick(deltaTimeMS);
        }
        public override void Tick(int deltaTimeMS)
        {
            if (!this.CouldActive())
            {
                return;
            }

            this.followPath.Tick(deltaTimeMS);
            fsmMachine.Tick(deltaTimeMS);
        }
Ejemplo n.º 3
0
 // Update is called once per frame
 void Update()
 {
     machine.Tick((int)(Time.deltaTime * 1000));
 }
Ejemplo n.º 4
0
 public void Update(float s)
 {
     MessageManager.GetInstance().Tick();
     gameFSMMachine.Tick((int)(s * 1000));
 }