Ejemplo n.º 1
0
 void Update()
 {
     // Waits until the player gets a multiple of 100 points.
     if (m_pointsSystem.GetPoints() % 100 == 0 && m_pointsSystem.GetPoints() != 0 && m_gc.eliteActive == false)
     {
         m_gc.eliteActive = true;
         SpawnElite();
     }
 }