예제 #1
0
 private SystemStepBase GetSystemStep(eSystemStep step)
 {
     if (systemStepDict.ContainsKey(step))
     {
         return(systemStepDict[step]);
     }
     return(null);
 }
예제 #2
0
    public void ChangeSystemStep(eSystemStep nextStep)
    {
        SystemStepBase curStep = GetSystemStep(currentStep);
        SystemStepBase next    = GetSystemStep(nextStep);

        if (next != null)
        {
            curStep.Hide();
            next.Show();
            currentStep = nextStep;
        }
    }
예제 #3
0
    void Init()
    {
        InitGameSteps();
        currentStep = InitStep;
        ConfigDataManager.LoadData();
        SystemDatas = new SystemDataManager();
        SystemDatas.Init();
        SyncDataMgr = new SyncDataManager();
#if UNITY_EDITOR || UNITY_STANDALONE
        OpenFolder.SetActive(true);
#else
        OpenFolder.SetActive(false);
#endif
    }