Ejemplo n.º 1
0
 // Reset timer, spawn animals and hunters, update player speed
 public void StartMinigame()
 {
     quotaProgress.maxValue = quota * 1.5f;
     timer = STARTTIME;
     if (animalSpawner)
     {
         animalSpawner.Spawn();
     }
     if (hunterSpawner)
     {
         hunterSpawner.Spawn();
     }
     if (playerController)
     {
         playerController.UpdateStats();
     }
 }
Ejemplo n.º 2
0
 public static void Respawn(GameObject npc)
 {
     Network.RemoveRPCs(npc.networkView.viewID);
     Network.Destroy(npc.networkView.viewID);
     SpawnAnimals.Spawn();
 }