Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | JulioYagami |
I need to change the buses volumes and also disable/enable some sound effects
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | JulioYagami |
I need to change the buses volumes and also disable/enable some sound effects
Reply From: | SIsilicon |
Here’s hoping that you don’t misread, access to the AudioServer’s what you need.
set_bus_volume_db to change the bus volume you select.
set_bus_effect_enabled to set or reset each bus effect.
AudioServer.set_bus_volume_db(bus_index, decibel)
AudioServer.set_bus_effect_enabled(bus_index, effect_index, enabled)
Now I have another question. How do I get the default bus (that is the current I’m using)?
JulioYagami | 2018-12-26 22:19