Remove debug FMOD patches

This commit is contained in:
NGnius (Graham) 2020-12-28 13:47:08 -05:00
parent 0ef875b6b2
commit 37e3c6f718

View file

@ -147,22 +147,4 @@ namespace GamecraftModdingAPI.Interface.IMGUI
_defaultCompletion++; _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}'");
}
}
} }