Category: Audio
SetSfxVolume(sfxReference As Integer, volume As Float)
Void
Sets the perceived volume of a loaded sound effect using a 0.0 to 1.0 range.
The runtime applies a non-linear volume curve so values such as 0.5 sound closer to half loudness instead of half linear amplitude.
Values outside the 0.0 to 1.0 range are clamped.
SetSfxVolume(jumpSfx, 0.5)