/// <summary> /// Plays the sound associated with the given id immediately and once /// </summary> /// <param name="soundId">a sound id</param> public static Promise <Lifetime> Play(string soundId) => Provider.Play(soundId.ToLower());
/// <summary> /// Plays the sound associated with the given id immediately and once /// </summary> /// <param name="soundId">a sound id</param> public static Task <Lifetime> Play(string soundId, float volume = 1) => Provider.Play(soundId.ToLower(), volume);