public void OnMsgFloorReliveReslut_S2C(PacketReader p, object state) { Debug.Log("OnENMsgSyncFloorInst_S2C"); int floorID = p.ReadInt32(); int reslut = p.ReadInt32(); ENReliveReslut enReslut = (ENReliveReslut)reslut; UIRelive.GetInstance().OnBuyReliveMsgCallBack(floorID, enReslut); }
// public int m_origialCount = 1; // public int m_retLayerCount = 1; // public int m_resurrectionUnLimitedCount = 5; // public bool m_resurrectionUnLimited = true; // public bool m_canOrigialResurrection = true; // public bool m_canRetLayerResurrection = true; static public UIRelive GetInstance() { UIRelive self = UIManager.Singleton.GetUIWithoutLoad <UIRelive>(); if (self != null) { return(self); } self = UIManager.Singleton.LoadUI <UIRelive>("UI/UIReborn", UIManager.Anchor.Center); return(self); }