public void FakeFinishPay(bool bSuccess, string result) { // 假的支付完成 BoxManager.removeMessage(); GameObject mainLogic = GameObject.Find("/MainUILogic"); if (mainLogic != null) { MainUILogic muil = mainLogic.GetComponent <MainUILogic>(); if (muil != null) { muil.RefreshRecordList(); } } if (bSuccess == true) { Debug.Log("pllog_UpdateUserInfo dollar=" + Games.CharacterLogic.Obj_MyselfPlayer.GetMe().dollar); GameObject.FindWithTag("main_controller").SendMessage("updateUserInfo"); BoxManager.showMessage(result, ""); //WML MARK } }