public override void OnEnter() { TsLog.Log("====== {0}.OnEnter", new object[] { base.GetType().FullName }); Scene.ChangeSceneType(this.SceneType()); NrTSingleton <FiveRocksEventManager> .Instance.StageFunnelsLog(Scene.CurScene); this.m_bCalledNextStage = false; CommonTasks.ClearAssetBundleResources(true); base.StartTaskSerial(CommonTasks.InitializeChangeScene()); UnityEngine.Debug.LogError(string.Concat(new object[] { "!!!!!!!!!!!!!!!!!!! IsTableLoaded ", StageInitialize.IsTableLoaded, " NrMainSystem.Instance.m_ReLogin ", NrTSingleton <NrMainSystem> .Instance.m_ReLogin })); if (!StageInitialize.IsTableLoaded && !NrTSingleton <NrMainSystem> .Instance.m_ReLogin) { TsAudioManager.Container.LoadXML(); bool isLoadWWW = NrTSingleton <NrGlobalReference> .Instance.isLoadWWW; UnityEngine.Debug.LogError("읽기 시작 : " + ((!isLoadWWW) ? "동기" : "비동기")); if (!isLoadWWW) { base.StartTaskSerial(TableDataLoad.Load()); } else { base.StartTaskSerial(this._DownloadTextMgrTables()); base.StartTaskSerial(this._Download1stTables()); base.StartTaskSerial(this._Download2ndTables()); } } base.StartTaskSerial(this._StageProcess()); base.StartTaskSerial(CommonTasks.FinalizeChangeScene(false)); base.StartTaskSerial(CommonTasks.MemoryCleaning(false, 8)); }
public void StartPreLoadTable() { NmMainFrameWork mainFrameWork = this.GetMainFrameWork(); if (mainFrameWork == null) { return; } if (this.m_PreloadCoroutine != null) { Debug.LogError(" ERROR, PreloadDataTableMgr.cs, StartPreLoadTable(), m_PreloadCoroutine is Not Null "); return; } float realtimeSinceStartup = Time.realtimeSinceStartup; if (this.IsPatchTableExist()) { Debug.LogError("PatchTableCheckTime : " + (Time.realtimeSinceStartup - realtimeSinceStartup).ToString()); return; } Debug.LogError("PatchTableCheckTime : " + (Time.realtimeSinceStartup - realtimeSinceStartup).ToString()); this.m_PreloadCoroutine = mainFrameWork.StartCoroutine(TableDataLoad.Load()); }