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