Пример #1
0
 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;
 }
Пример #2
0
 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);
     }
 }
Пример #3
0
 public void SetRound(GameLogic.Round round)
 {
     m_RoundText.text = "Now Round : " + round;
 }