CEngineSharp_Client.Audio.SfxManager.PlaySound C# (CSharp) Method

PlaySound() public method

public PlaySound ( string soundName ) : void
soundName string
return void
        public void PlaySound(string soundName)
        {
            var sound = new Sound(_sounds[soundName])
            {
                Loop = true
            };

            sound.Play();
        }

Same methods

SfxManager::PlaySound ( string soundName, double listenerX, double listenerY, double soundX, double soundY, int maxSoundDistance ) : void