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