Added Farming SFX

This commit is contained in:
2025-06-15 19:37:57 +02:00
committed by cblech
parent 4c6d5350b2
commit 07bcab4454
6 changed files with 48 additions and 5 deletions
+14
View File
@@ -0,0 +1,14 @@
using Godot;
namespace Babushka.scripts.CSharp.Common;
public partial class AudioPlayer : AudioStreamPlayer2D
{
/// <summary>
/// For SFX and other audio that should be played only once and not looped.
/// </summary>
public void PlayOneShot()
{
Play();
}
}