Added Footsteps SFX
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user