public void Cancle() { //------------------------------------------------------------------------- //2013-7-30 Jack Wen int state = mainLogic.GetComponent <MainUILogic>().sendMailState; if (state == 1) { Obj_MyselfPlayer.GetMe().currentFriend = mainLogic.GetComponent <MainUILogic>().friendInfo; mainLogic.SendMessage("LoadFriendInfoWindow"); } else { mainLogic.OnMailWindow(); } //------------------------------------------------------------------------- }
public void BuyGoldFinish(bool isSucess) { if (isSucess) { mainLogic.GetComponent <MainUILogic>().SendMessage("refreshTopBar"); BoxManager.showMessageByID((int)MessageIdEnum.Msg59); Debug.Log("Buy Gold Finish"); } else { Debug.LogError("Buy Gold Error"); } }