设置扩展

This commit is contained in:
SoulliesOfficial
2026-07-19 16:44:58 -04:00
parent dda354ebb9
commit 9fd5f098ab
110 changed files with 8386 additions and 2311 deletions

View File

@@ -154,6 +154,16 @@ namespace Ichni
StopMusicEvent.Post(gameObject);
}
/// <summary>
/// 清除由谱面音乐特效写入的滤波 RTPC。
/// SettingsManager 在玩家关闭游戏内音乐特效时调用此方法,确保设置立即生效。
/// </summary>
public void ResetInGameAudioEffects()
{
HighPassFilter.SetValue(gameObject, 0f);
LowPassFilter.SetValue(gameObject, 0f);
}
private void OnMusicEvent(object in_cookie, AkCallbackType in_type, AkCallbackInfo in_info)
{
Debug.Log(in_type + " " + in_info);