// Token: 0x0600130B RID: 4875 RVA: 0x0006FFB4 File Offset: 0x0006E1B4 public void UnloadCurrentPage() { SceneGuiController currentPage = this.GetCurrentPage(); if (currentPage) { currentPage.gameObject.SetActive(false); GamePageManager._currentPageType = IngamePageType.None; } global::EventHandler.Global.Fire(new GlobalEvents.GamePageChanged()); }
// Token: 0x0600130C RID: 4876 RVA: 0x0006FFF4 File Offset: 0x0006E1F4 public void LoadPage(IngamePageType pageType) { if (pageType == GamePageManager._currentPageType) { return; } SceneGuiController sceneGuiController = null; if (GamePageManager._pageByPageType.TryGetValue(pageType, out sceneGuiController)) { SceneGuiController sceneGuiController2 = null; GamePageManager._pageByPageType.TryGetValue(GamePageManager._currentPageType, out sceneGuiController2); if (sceneGuiController2) { sceneGuiController2.gameObject.SetActive(false); } GamePageManager._currentPageType = pageType; sceneGuiController.gameObject.SetActive(true); global::EventHandler.Global.Fire(new GlobalEvents.GamePageChanged()); } }