예제 #1
0
 private void baseShowUI(bool isShow, UIEnum uIEnum)
 {
     if (isShow)
     {
         uiMasterControl.openUIByTypeAndCloseOther(uIEnum);
     }
     else
     {
         uiMasterControl.openUIByTypeAndCloseOther(UIEnum.GameMainUI);
     }
 }
예제 #2
0
    private void Start()
    {
        if (CommonData.SelectPuzzlesInfo != null)
        {
            if (CommonData.SelectPuzzlesInfo.puzzlesInfo.mark_file_name.Contains("workshop_pic"))
            {
                uiMasterControl.openUIByTypeAndCloseOther(UIEnum.MenuWorkshop);
            }
            else
            {
                uiMasterControl.openUIByTypeAndCloseOther(UIEnum.MenuSelectUI);
            }
        }
        else
        {
            uiMasterControl.openUIByTypeAndCloseOther(UIEnum.MenuMainUI);
        }


        if (menuBackGround != null)
        {
            menuBackGround.startCreateJigsaw();
        }
    }
예제 #3
0
 private void Start()
 {
     uiMasterControl.openUIByTypeAndCloseOther(UIEnum.GameMainUI);
 }