diff --git a/Runtimes/Unity/BepInEx.Unity.IL2CPP/IL2CPPChainloader.cs b/Runtimes/Unity/BepInEx.Unity.IL2CPP/IL2CPPChainloader.cs index b493789..e27c3cd 100644 --- a/Runtimes/Unity/BepInEx.Unity.IL2CPP/IL2CPPChainloader.cs +++ b/Runtimes/Unity/BepInEx.Unity.IL2CPP/IL2CPPChainloader.cs @@ -32,6 +32,8 @@ public class IL2CPPChainloader : BaseChainloader private static INativeDetour RuntimeInvokeDetour { get; set; } + public static new IL2CPPChainloader Instance { get; set; } + /// /// Register and add a Unity Component (for example MonoBehaviour) into BepInEx global manager. /// Automatically registers the type with Il2Cpp type system if it isn't initialised already.