public void OnDisabled()
        {
            NLT_Utils.Log("{0} v{1} disable process started.", NAME, VERSION);

            Harmony.UnpatchAll(HARMONY_ID);
            NLT_Utils.Log("{0} v{1} disabled successfully.", NAME, VERSION);
        }
        public void OnEnabled()
        {
            NLT_Utils.Log("{0} v{1} enable process started.", NAME, VERSION);

            Harmony = HarmonyInstance.Create(HARMONY_ID);
            Harmony.PatchAll(Assembly.GetExecutingAssembly());

            NLT_Utils.Log("{0} v{1} enabled successfully.", NAME, VERSION);
        }
        public void OnLevelLoaded(LoadMode mode)
        {
            NLT_Utils.Log("Loaded map successfully.");
            // create dialog panel
            ExceptionPanel panel = UIView.library.ShowModal <ExceptionPanel>("ExceptionPanel");

            // display a message for the user in the panel
            panel.SetMessage("Network Lane Tool", "Stuff", false);

            UI = ToolsModifierControl.toolController.gameObject.AddComponent <NLT_UIBase>();
        }
 public void OnCreated(ILoading loading)
 {
     NLT_Utils.Log("Loading map.");
 }