SoundHandler

From Crumbled World Wiki

SoundHandlerExampleCode


Functions

return function description
playSound(string soundName, float maxSoundPerSecond) Set a limit on how many sound can be started every second
playSound(string soundName, float soundLevel, Vec3 position) Play a sound by name, sound level and a global position
playSound(string soundName, float soundLevel, Vec3 position, bool looping) Play a sound by name, sound level and a global position