Example #1
0
    public void ActivateRoomHUD()
    {
        controlsHUD.SetActive(false);
        chooseNameHUD.gameObject.SetActive(false);
        mainMenuHUD.gameObject.SetActive(false);
        roomHUD.gameObject.SetActive(true);
        gameHUD.gameObject.SetActive(false);
        rankingHUD.gameObject.SetActive(false);

        if (polePosition && polePosition.isActiveAndEnabled)
        {
            polePosition.StartCoroutine("UpdateRoomUICoroutine");
        }
    }