void UpdateWaveDisplay(int wave) { //lbWave.text="wave-"+wave+(!SpawnManager.IsEndlessMode() ? "/"+SpawnManager.GetTotalWaveCount() : "" ); waveItem.lbMain.text = wave + (!SpawnManager.IsEndlessMode() ? "/" + SpawnManager.GetTotalWaveCount() : ""); //buttonSpawn.SetActive(false); }