Beispiel #1
0
 /// <summary>
 /// Plays a sound effect and returns the SoundEffectInstance.
 /// </summary>
 /// <param name="fileName"></param>
 /// <returns></returns>
 public static SoundEffectInstance PlaySoundEffect(string fileName, bool looped = false, STACK.Components.AudioEmitter emitter = null, STACK.Components.AudioListener listener = null)
 {
     return(Tree.World.Get <AudioManager>().PlaySoundEffect(fileName, looped, emitter, listener));
 }