Ejemplo n.º 1
0
 /// <summary>
 /// Spawn initial entities. Worm spawning is handled in Update().
 /// </summary>
 private void Start()
 {
     if (spawnFruits)
     {
         for (int i = 0; i < fruitAmount; i++)
         {
             fruits.Spawn();
         }
     }
     for (int i = 0; i < 5; i++)
     {
         players.Reset();
     }
 }