static WebFileCache() { WebFileCache.ms_webfiles = new Dictionary <string, WebFileCache.CacheItem>(); WebFileCache.ms_DelWebfile = new Dictionary <string, float>(); StageSystem.AddCommonPararellTask(WebFileCache.RemoveOldFile()); StageSystem.AddCommonPararellTask(WebFileCache.RemoveDeleteOldFile()); }
static CharObserver() { CharObserver.m_Moving = false; CharObserver.m_ActionChangeMoving = delegate(bool T) { }; StageSystem.AddCommonPararellTask(CharObserver.Action()); }
public override void OnEnter() { StageSystem.AddCommonPararellTask(AutoMemoryCleanUp.Action()); TsLog.Log("====== {0}.OnEnter", new object[] { base.GetType().FullName }); Scene.ChangeSceneType(this.SceneType()); base.StartTaskSerial(this._SDKSetting()); base.StartTaskSerial(this._WaitMobileTextInit()); base.StartTaskSerial(this._WaitMobileReview()); base.StartTaskSerial(this._WaitWebCallParameter()); base.StartTaskSerial(this._WaitDownloadFinalPatchList()); base.StartTaskSerial(this._WaitDownloadAssetBundleURLInfo()); base.StartTaskSerial(this._WaitDownloadPack()); base.StartTaskSerial(this._InitializeUI()); base.StartTaskSerial(this._InitializePlatform()); base.StartTaskSerial(this._ClearFileLog()); base.StartTaskSerial(CommonTasks.SetGUIBehaviourScene()); base.StartTaskSerial(CommonTasks.FinalizeChangeScene(false)); }