Example #1
0
    internal void HidePanel(string a_panelName)
    {
        JPanel panel = null;

        panelDict.TryGetValue(a_panelName, out panel);

        if (panel != null)
        {
            panel.StartPanelTransition(false);
        }
        else
        {
            //TODO Debug Msg
        }
    }
Example #2
0
    internal void ShowPanel(string a_panelName)
    {
        JPanel panel = null;

        panelDict.TryGetValue(a_panelName, out panel);

        if (panel != null)
        {
            //panel.gameObject.SetActive(true);
            panel.canvasGroup.blocksRaycasts = true;
            panel.StartPanelTransition(true);
            currentShowedPanelList.Add(panel);
        }
        else
        {
            //TODO Debug Msg
        }
    }