A stable modding interface between Techblox and mods https://mod.exmods.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
409B

  1. using System;
  2. using System.Reflection;
  3. using Harmony;
  4. using UnityEngine;
  5. namespace TestMod
  6. {
  7. [HarmonyPatch]
  8. class TestPatch
  9. {
  10. static void Prefix()
  11. {
  12. Debug.Log("Test Patch Prefix");
  13. }
  14. [HarmonyTargetMethod]
  15. static MethodBase HTargetMethod(HarmonyInstance instance)
  16. {
  17. throw new NotImplementedException();
  18. }
  19. }
  20. }