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);
        }
Exemple #3
0
 // Update is called once per frame
 void Update()
 {
     machine.Tick((int)(Time.deltaTime * 1000));
 }
Exemple #4
0
 public void Update(float s)
 {
     MessageManager.GetInstance().Tick();
     gameFSMMachine.Tick((int)(s * 1000));
 }