Files
Babushka/scripts/CSharp/Common/Audio/AudioPlayer.cs
T
2025-08-27 17:12:12 +02:00

14 lines
294 B
C#

using Godot;
namespace Babushka.scripts.CSharp.Common.Audio;
public partial class AudioPlayer : AudioStreamPlayer
{
/// <summary>
/// For SFX and other audio that should be played only once and not looped.
/// </summary>
public void PlayOneShot()
{
Play();
}
}