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