yugodot/scripts/ParticlesTest.cs
2024-10-15 01:25:22 +02:00

13 lines
226 B
C#

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;
}
}