2025-04-06 05:48:27 +00:00
|
|
|
|
|
|
|
using Godot;
|
|
|
|
|
|
|
|
namespace Rokojori
|
|
|
|
{
|
2025-06-10 13:16:36 +00:00
|
|
|
[Tool][GlobalClass]
|
2025-04-06 05:48:27 +00:00
|
|
|
public partial class PlaySound:Action
|
|
|
|
{
|
|
|
|
[Export]
|
|
|
|
public AudioStreamPlayer player;
|
|
|
|
|
|
|
|
protected override void _OnTrigger()
|
|
|
|
{
|
|
|
|
player.Play();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|