예제 #1
0
        public void RestartMove()
        {
            GOEEntityMoveTo mt = this.GetComponent <GOEEntityMoveTo>();

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

            if (md != null)
            {
                md.Restart();
            }
        }
예제 #2
0
        public void PauseMove()
        {
            GOEEntityMoveTo mt = this.GetComponent <GOEEntityMoveTo>();

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

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