18 lines
256 B
C#
18 lines
256 B
C#
|
|
||
|
using Godot;
|
||
|
using Rokojori;
|
||
|
|
||
|
namespace GameJam
|
||
|
{
|
||
|
[GlobalClass]
|
||
|
public partial class PlayParticles:RJAction
|
||
|
{
|
||
|
[Export]
|
||
|
public GpuParticles3D particles3D;
|
||
|
|
||
|
public override void _OnTrigger()
|
||
|
{
|
||
|
particles3D.Restart();
|
||
|
}
|
||
|
}
|
||
|
}
|