public void DisplayMana() { if (waveManager == null) { waveManager = GameController.instance.waveManager; } skillBook.GetComponentInChildren <Text>().text = waveManager.Mana.ToString(); }
public void HideDisplayWaveReward() { if (waveManager == null) { waveManager = GameController.instance.waveManager; } waveManager.SpawnWaveImmediate(); waveManager.Mana += int.Parse(waveReward.GetComponentInChildren <Text>().text); AlertDisplay("+ " + waveReward.GetComponentInChildren <Text>().text + " Mana"); waveReward.SetActive(false); waveInfoBtn.SetActive(false); countingDown = false; }