/// <summary> /// 显示铜币不足提示。。直接跳到快速购买界面 /// </summary> public void ShowNotEnoughMoneyMsg(MoneyLessCallBack cancelBtnCb) { Show(1, "", LanguageTextManager.GetString("IDS_I3_50"), LanguageTextManager.GetString("IDS_I1_5"), LanguageTextManager.GetString("IDS_I1_6"), () => { SoundManager.Instance.PlaySoundEffect("Sound_Button_Equipment_Confirm"); PopupObjManager.Instance.NotEnoughMoneyPanel(); } , () => { SoundManager.Instance.PlaySoundEffect("Sound_Button_Equipment_Cancel"); if (cancelBtnCb != null) { cancelBtnCb(); } }); }
/// <summary> /// 显示元宝不足提示 /// </summary> public void ShowNotEnoughGoldMoneyMsg(MoneyLessCallBack sureBtnCb) { Show(3, "", LanguageTextManager.GetString("IDS_I1_23"), LanguageTextManager.GetString("IDS_I1_5"), LanguageTextManager.GetString("IDS_I1_6"), () => { UIEventManager.Instance.TriggerUIEvent(UIEventType.OpentMainUI, UI.MainUI.UIType.TopUp); SoundManager.Instance.PlaySoundEffect("Sound_Button_BuyIngotConfirmation"); if (sureBtnCb != null) { sureBtnCb(); } }, () => { SoundManager.Instance.PlaySoundEffect("Sound_Button_BuyIngotCancel"); }); }