public void OnPVPTotalWindow() { //16级开放pvp功能 int openLev = 16; if (Obj_MyselfPlayer.GetMe().level < openLev) { BoxManager.showMessageByID((int)MessageIdEnum.Msg111, openLev.ToString()); return; } Debug.Log("OnPVPWindow"); mainLogic.OnPvPTotalWindow(); Debug.Log("OnPVPWindow Done"); }