Esempio n. 1
0
    public void OpenCtrlWay2PanelObj()
    {
        if (CtrlWay1PanelObj.activeInHierarchy)
        {
            CtrlWay1PanelObj.SetActive(false);
        }

        CtrlWay2PanelObj.SetActive(true);
    }
Esempio n. 2
0
    public void CloseCtrlWayPanelObj()
    {
        if (CtrlWay1PanelObj.activeInHierarchy)
        {
            CtrlWay1PanelObj.SetActive(false);
        }

        if (CtrlWay2PanelObj.activeInHierarchy)
        {
            CtrlWay2PanelObj.SetActive(false);
        }

        if (ExplainPanel1.activeInHierarchy)
        {
            ExplainPanel1.SetActive(false);
        }

        if (ExplainPanel2.activeInHierarchy)
        {
            ExplainPanel2.SetActive(false);
        }
    }