设置扩展
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user