From 03c8e5a8bd2e8b767713ca1f55fff49c0f39b5ea Mon Sep 17 00:00:00 2001 From: Sinai <49360850+sinai-dev@users.noreply.github.com> Date: Wed, 21 Jul 2021 04:14:12 +1000 Subject: [PATCH] Add Harmony instance to ExplorerCore, bump version --- src/ExplorerCore.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ExplorerCore.cs b/src/ExplorerCore.cs index a472574..0f7ca21 100644 --- a/src/ExplorerCore.cs +++ b/src/ExplorerCore.cs @@ -14,19 +14,22 @@ using UnityExplorer.UI; using UnityExplorer.Inspectors; using UnityExplorer.ObjectExplorer; using UnityExplorer.UI.Panels; +using HarmonyLib; namespace UnityExplorer { public static class ExplorerCore { public const string NAME = "UnityExplorer"; - public const string VERSION = "4.1.11"; + public const string VERSION = "4.2.0"; public const string AUTHOR = "Sinai"; public const string GUID = "com.sinai.unityexplorer"; public static IExplorerLoader Loader { get; private set; } public static RuntimeContext Context { get; internal set; } + public static HarmonyLib.Harmony Harmony { get; } = new HarmonyLib.Harmony(GUID); + /// /// Initialize UnityExplorer with the provided Loader implementation. ///