public override void Start() { m_Instance = this; Debug.Log("HotFix Start Ok"); GameMain.DispatcherEvent(CommonEvents.UpdateCheckVersionProgress, 1f, GameMain.Instance.GetText(6)); GameMain.Instance.GetFSM().ChangeState(MainState_Running.Instance); }
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"); }
public static EventsHF GetInstance() { return(HotFixLoop.GetInstance().GetEvent()); }