|
|
@@ -10,7 +10,7 @@ namespace TestMod |
|
|
|
{ |
|
|
|
public static HarmonyInstance harmony { get; protected set; } |
|
|
|
|
|
|
|
public string[] Filter { get; } = new string[] { "RobocraftX", "Gamecraft" }; |
|
|
|
public string[] Filter { get; } = new string[] { "Gamecraft" }; |
|
|
|
|
|
|
|
public string Name { get; } = "TestPlugin"; |
|
|
|
|
|
|
@@ -21,7 +21,7 @@ namespace TestMod |
|
|
|
public void OnApplicationQuit() |
|
|
|
{ |
|
|
|
harmony.UnpatchAll(HarmonyID); |
|
|
|
Debug.Log("TestPlugin shutdown complete"); |
|
|
|
Debug.Log(Name + " shutdown complete"); |
|
|
|
} |
|
|
|
|
|
|
|
public void OnApplicationStart() |
|
|
@@ -31,7 +31,7 @@ namespace TestMod |
|
|
|
harmony = HarmonyInstance.Create(HarmonyID); |
|
|
|
harmony.PatchAll(Assembly.GetExecutingAssembly()); |
|
|
|
} |
|
|
|
Debug.Log("TestPlugin start & patch complete"); |
|
|
|
Debug.Log(Name + " start & patch complete"); |
|
|
|
} |
|
|
|
|
|
|
|
public void OnFixedUpdate() |
|
|
|