static void OnShowMissionDialogUI(bool bSuccess, object dialogID) { if (!bSuccess) { LogModule.ErrorLog("load MissionInfoController fail"); return; } MissionUIInfo curInfo = (MissionUIInfo)dialogID; if (null != MissionInfoController.Instance() && curInfo != null) { MissionInfoController.Instance().MissionUI(curInfo._nMissionID, curInfo._type); } }
public static void ShowMissionDialogUI(int nMissionID, MissionUIType type) { MissionUIInfo curInfo = new MissionUIInfo(nMissionID, type); UIManager.ShowUI(UIInfo.MissionInfoController, OnShowMissionDialogUI, curInfo); }