有朋友知道Fmod怎么设置自动闪避功能?

有朋友知道Fmod怎么设置自动闪避功能?自动闪避就是打开界面,后面的所有声音自动淡入淡出的变小,关闭界面,声音淡入淡出恢复正常?

Fmod怎么设置自动闪避功能?自动闪避就是打开界面,后面的所有声音自动淡入淡出的变小,关闭界面,声音淡入淡出恢复正常?

If you want to fade out in-game sounds when you open a menu, a common way to do this is to use a mixer snapshot. You need to put the menu UI sounds and the game sounds to different mixer groups. Then when the menu is opened, you can play a looping FMOD event that contains a mixer snapshot that mutes the game sounds. When the menu is closed, the FMOD event is stopped and the in-game sound resumes.