Browse Source

Remove debug FMOD patches

tags/v1.8.0
NGnius (Graham) 4 years ago
parent
commit
37e3c6f718
1 changed files with 0 additions and 18 deletions
  1. +0
    -18
      GamecraftModdingAPI/Interface/IMGUI/Constants.cs

+ 0
- 18
GamecraftModdingAPI/Interface/IMGUI/Constants.cs View File

@@ -147,22 +147,4 @@ namespace GamecraftModdingAPI.Interface.IMGUI
_defaultCompletion++;
}
}

[HarmonyPatch(typeof(FMODUnity.RuntimeManager), "PlayOneShot", new []{ typeof(Guid), typeof(Vector3)})]
public class FMODRuntimeManagerPlayOneShotPatch
{
public static void Prefix(Guid guid)
{
Logging.MetaLog($"Playing sound with guid '{guid.ToString()}'");
}
}
[HarmonyPatch(typeof(FMODUnity.RuntimeManager), "PlayOneShot", new []{ typeof(string), typeof(Vector3)})]
public class FMODRuntimeManagerPlayOneShotPatch2
{
public static void Prefix(string path)
{
Logging.MetaLog($"Playing sound with str '{path}'");
}
}
}

Loading…
Cancel
Save