internal override void Restart()
 {
     base.Restart();
     if (move != null)
     {
         move.Restart();
     }
 }
Example #2
0
        public void RestartMove()
        {
            GOEEntityMoveTo mt = this.GetComponent <GOEEntityMoveTo>();

            if (mt != null)
            {
                mt.RestartMove();
            }
            GOEEntityMoveToDirect md = this.GetComponent <GOEEntityMoveToDirect>();

            if (md != null)
            {
                md.Restart();
            }
        }