Beispiel #1
0
    void ActivatePanel(string panelName)
    {
        if (string.IsNullOrEmpty(panelName))
            return;

        HomePanel.SetActive(string.Equals(HomePanel.name, panelName));
        ProfilePanel.SetActive(string.Equals(ProfilePanel.name, panelName));
    }
Beispiel #2
0
    public void DisableAllPanels()
    {
        LoadingPanel.SetActive(false);

        AccountPanel.SetActive(false);
        ProcessPanel.SetActive(false);

        LobbyPanel.SetActive(false);
        CharacterSelectPanel.SetActive(false);
        ProfilePanel.SetActive(false);
        ShopPanel.SetActive(false);
        FriendsPanel.SetActive(false);
        GameModePanel.SetActive(false);
        SettingsPanel.SetActive(false);
        AboutPanel.SetActive(false);
        WaitingPanel.SetActive(false);
    }
Beispiel #3
0
        private void ProfilePanelOnBack()
        {
            _profilePanel.SetActive(false);

            _menuPanel.SetActive(true);
        }