// 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(); } }
public static void Respawn(GameObject npc) { Network.RemoveRPCs(npc.networkView.viewID); Network.Destroy(npc.networkView.viewID); SpawnAnimals.Spawn(); }