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