private SystemStepBase GetSystemStep(eSystemStep step) { if (systemStepDict.ContainsKey(step)) { return(systemStepDict[step]); } return(null); }
public void ChangeSystemStep(eSystemStep nextStep) { SystemStepBase curStep = GetSystemStep(currentStep); SystemStepBase next = GetSystemStep(nextStep); if (next != null) { curStep.Hide(); next.Show(); currentStep = nextStep; } }
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 }