yugodot/scripts/ParticlesTest.cs

13 lines
226 B
C#
Raw Permalink Normal View History

2024-10-14 23:25:22 +00:00
using Godot;
using System;
public class ParticlesTest : Particles
{
public override void _Process(float delta)
{
float time = OS.GetTicksMsec() / 1000.0f;
Emitting = Mathf.Sin(time * 20) > 0;
}
}