public void EndBattle() { waveProgressBar.gameObject.SetActive(false); DisableBarriers(); Debug.Log("Battle Cleared"); Invoke("DisableWaveProgressBar", 1f); arenaManager.EndBattle(); }