public void GoToAndSetDia(ForgingPage page, Gems gem) { this.GoTo(page); AsyncTask.QueueOnMainThread(() => { SyntheticSystem.SelectGem(gem); }, 0.1f); ComLoading.Close(); }
public void ReturnLastPage() { if (ForgingRoomUI.Instance.CurPage != ForgingPage.Forging_Main) { if (Exit == null) { switch (CurPage) { case ForgingPage.Forging_Synthetic: SyntheticSystem.Quit(); break; case ForgingPage.Forging_Mosaic: InlaySystem.Quit(); break; case ForgingPage.Forging_Recasting: RecastingSystem.Quit(); break; } ForgingRoomUI.Instance.GoTo(ForgingPage.Forging_Main); } else { Exit(); } } else { if (Exit == null) { ForgingRoomUI.Instance.DestoryForgingRoomUI(); Core.Data.playerManager.RTData.curTeam.upgradeMember(); //Debug.Log("jc------RefreshUserInfo------"); //DBUIController.mDBUIInstance.RefreshUserInfo(); DBUIController.mDBUIInstance._mainViewCtl.RefreshUserInfo(); } else { Exit(); } } }