Beispiel #1
0
 public override void Success()
 {
     animalToSave.GetComponent <AiFoxController>().EnableMovement();
     animalToSave.GetComponents <AudioSource>()[0].Play();
     questManager.AddPoints(points);
     questManager.questPointer.DestroyPointer(this.pointer);
     DestroyPrefab();
     DestroySelf();
     questManager.AddAnimalToSave(animalToSave);
 }