Ejemplo n.º 1
0
 //--------------------------------------------------------------------------------------------/
 // Methods
 //--------------------------------------------------------------------------------------------/
 public void ChangeTarget(CharacterControllerMovement target)
 {
     this.target = target;
     this.OnTargetChanged();
 }
Ejemplo n.º 2
0
 private void Reset()
 {
     this.camera = Camera.main;
     this.target = GetComponent <CharacterControllerMovement>();
 }