Пример #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);
 }