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