设置扩展
This commit is contained in:
@@ -68,6 +68,12 @@ namespace Ichni.RhythmGame
|
||||
|
||||
public override void Execute()
|
||||
{
|
||||
// 玩家关闭游戏内音乐特效时,不再覆盖 SettingsManager 已归零的 RTPC。
|
||||
if (!SettingsManager.instance.settingsSaveData.enableInGameAudioEffects)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// 在 10Hz(无效果)与 peak Hz(最强截止)之间基于曲线插值
|
||||
float intensity = intensityCurve != null ? intensityCurve.Evaluate(effectProgressPercent) : 0f;
|
||||
float currentFreq = Mathf.Lerp(MinFrequency, peak, intensity);
|
||||
|
||||
@@ -66,6 +66,12 @@ namespace Ichni.RhythmGame
|
||||
|
||||
public override void Execute()
|
||||
{
|
||||
// 玩家关闭游戏内音乐特效时,不再覆盖 SettingsManager 已归零的 RTPC。
|
||||
if (!SettingsManager.instance.settingsSaveData.enableInGameAudioEffects)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// 在 22000Hz(无效果)与 bottom Hz(最强截止)之间基于曲线插值
|
||||
float intensity = intensityCurve != null ? intensityCurve.Evaluate(effectProgressPercent) : 0f;
|
||||
float currentFreq = Mathf.Lerp(MaxFrequency, bottom, intensity);
|
||||
|
||||
Reference in New Issue
Block a user