public void CreateSound(string _soundName, Vector3 _position = new Vector3()) { SimpleAudioPlayer _audioClone = (SimpleAudioPlayer)_simpleAudioPlayer.Instance(); Node _sceneRoot = GetTree().Root.GetChild(0); _sceneRoot.AddChild(_audioClone); if (_position == new Vector3()) { _audioClone.PlaySoundGlobal(_soundName); } else { _audioClone.PlaySoundLocal(_soundName, _position); } }