rj-action-library-godot-dev.../Scripts/GameJam/PlayParticles.cs

18 lines
256 B
C#
Raw Permalink Normal View History

2024-06-16 16:03:17 +00:00
using Godot;
using Rokojori;
namespace GameJam
{
[GlobalClass]
public partial class PlayParticles:RJAction
{
[Export]
public GpuParticles3D particles3D;
public override void _OnTrigger()
{
particles3D.Restart();
}
}
}