forked from akanyan/mu3-mods
feat: implement Pause, better InfiniteGP
This commit is contained in:
15
Pause/MU3.Game/patch_GameBGM.cs
Normal file
15
Pause/MU3.Game/patch_GameBGM.cs
Normal file
@ -0,0 +1,15 @@
|
||||
#pragma warning disable CS0649
|
||||
|
||||
using MU3.Sound;
|
||||
using MU3.Util;
|
||||
|
||||
namespace MU3.Game;
|
||||
|
||||
public class patch_GameBGM: GameBGM {
|
||||
private patch_SoundManager psm => ((patch_SoundManager)Singleton<SoundManager>.instance);
|
||||
private HandleInfo _handle;
|
||||
public void pause(bool val) {
|
||||
psm.pause(_handle, val);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user