예제 #1
0
 private void PowerUpOption_OnClicked(PowerUpOption power)
 {
     if (power != null)
     {
         player.AddPowerUp(power.PowerUp);
     }
 }
예제 #2
0
 private void PowerUpOption_OnClicked(PowerUpOption powerUpOption)
 {
     wave++;
     waveCounter.text = string.Format("Wave {0}", wave);
     spawnArea.StartSpawn(StartDelay, TotalSpawns, SpawnCooldown, BurstLimit);
 }