浏览代码

Merge remote-tracking branch 'tech-mkt/main' into main

/UI
Ciro Continisio 4 年前
当前提交
d60ad152
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 6
      UOP1_Project/Assets/Scripts/Audio/AudioManager.cs

6
UOP1_Project/Assets/Scripts/Audio/AudioManager.cs


private void UnregisterChannel(AudioCueEventChannelSO audioCueEventChannel)
{
audioCueEventChannel.OnAudioCuePlayRequested += PlayAudioCue;
audioCueEventChannel.OnAudioCueStopRequested += StopAudioCue;
audioCueEventChannel.OnAudioCueFinishRequested += FinishAudioCue;
audioCueEventChannel.OnAudioCuePlayRequested -= PlayAudioCue;
audioCueEventChannel.OnAudioCueStopRequested -= StopAudioCue;
audioCueEventChannel.OnAudioCueFinishRequested -= FinishAudioCue;
}
// Both MixerValueNormalized and NormalizedToMixerValue functions are used for easier transformations

正在加载...
取消
保存