Initial commit
This commit is contained in:
commit
c7b2028f4d
20 changed files with 898 additions and 0 deletions
16
Patches/SFXManager_PlayCheckoutWarningSFX_Patch.cs
Normal file
16
Patches/SFXManager_PlayCheckoutWarningSFX_Patch.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using HarmonyLib;
|
||||
|
||||
namespace AudioSettings.Patches
|
||||
{
|
||||
public static partial class SFXManager_Patches
|
||||
{
|
||||
[HarmonyPatch(typeof(SFXManager), "PlayCheckoutWarningSFX")]
|
||||
public static class SFXManager_PlayCheckoutWarningSFX_Patch
|
||||
{
|
||||
public static void Prefix(SFXManager __instance)
|
||||
{
|
||||
Plugin.CheckoutWarningVolume.Add(__instance.m_CheckoutWarning, 0.5f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue