示例#1
0
 public override void OnApplicationQuit()
 {
     //ProcedureEvent.UnregEvent();
     UnityEngine.Debug.Log("HotFixLoop OnApplicationQuit");
     UIManager.Destroy();
     MessageManagerHF.UnregMessages();
 }
示例#2
0
        public override void Start()
        {
            m_Instance = this;
            BugFixManager.IsOpenHotFix = true;
            ProcedureEvent.RegEvent();

            //GameDll.PacketHandlerManager.PacketHandlerMgrHF_ProcessPacket = PacketHandlerManagerHF.ProcessPacket;
            BugFixManager.RegHotFixFunction();

            UIManager.Init();
            MessageManagerHF.RegMessages();
            m_EventManagerHF = new EventsHF();
            GameDll.CGameProcedure.s_EventManager.OnCameraPositionChangedEvent += OnCameraPositionChangedEvent;
            Debug.Log("HotFix Start Ok");
        }