fix: Message delay working properly
This commit is contained in:
parent
2f9b516605
commit
60fd82cff5
30 changed files with 538 additions and 19 deletions
|
@ -31,8 +31,8 @@ namespace Audio {
|
|||
};
|
||||
s.source = sound.AddComponent<AudioSource>();
|
||||
|
||||
if (soundList.mainMixer && soundList.sfxMixer) {
|
||||
s.source.outputAudioMixerGroup = s.type == Sounds.List.Type.Music ? soundList.mainMixer : soundList.sfxMixer;
|
||||
if (soundList.musicMixer && soundList.sfxMixer) {
|
||||
s.source.outputAudioMixerGroup = s.type == Sounds.List.Type.Music ? soundList.musicMixer : soundList.sfxMixer;
|
||||
}
|
||||
|
||||
s.source.clip = s.clip;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue