private void Move () { this.currentCharacterDetector = null; currentPathFinder ++; isInitialPoint = true; character.MoveTo(CurrentPath.InitialPoint); }
private void Move() { this.currentCharacterDetector = null; currentPathFinder++; isInitialPoint = true; character.MoveTo(CurrentPath.InitialPoint); }
private void OnGetAreaToMove(CharacterDectector obj) { this.currentCharacterDetector = obj; if (this.currentCharacterDetector == this.detector[this.detector.Length - 1] && OnFinishRun != null) { OnFinishRun(); } }
private void OnGetAreaToMove (CharacterDectector obj) { this.currentCharacterDetector = obj; if(this.currentCharacterDetector == this.detector[ this.detector.Length -1] && OnFinishRun != null) OnFinishRun (); }