public override void OnApplicationQuit() { //ProcedureEvent.UnregEvent(); UnityEngine.Debug.Log("HotFixLoop OnApplicationQuit"); UIManager.Destroy(); MessageManagerHF.UnregMessages(); }
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"); }