playSoundAtDistance

open fun playSoundAtDistance(sound: Sound, position: Vector2)

Проигрывает звук на удалении от игрока

Parameters

sound
position

open fun playSoundAtDistance(sound: Sound, position: Vector2, db: Float)