public void ShowWinner(GameLogic.Round round) { m_MenuRoot.gameObject.SetActive(true); m_WinnerRoot.gameObject.SetActive(true); m_StartButton.gameObject.SetActive(false); m_TextWinner.text = string.Format("{0} is Winner!", round); m_TextTitle.enabled = false; }
internal void SpawnRound(GameLogic.Round round) { Debug.Log("RRip"); foreach (GameLogic.MushroomDescriptor mushroom in round.mMushroomsToSpawn) { Debug.Log("DMuuushsroom"); SpawnMushroom(mMushroomPrefab, mushroom.mPos.x, mushroom.mPos.y, mushroom.mBehaviour, mushroom.mColor); } }
public void SetRound(GameLogic.Round round) { m_RoundText.text = "Now Round : " + round; }