Beispiel #1
0
    public override void _Ready()
    {
        particles = GetNode <SceneCPUParticles>("DustEmitter");

        if (ObjectID.y == 14)
        {
            startSpawnDelay(min_time / 2f, max_time / 2f);
        }
        else
        {
            particles.spawnParticles();
        }
    }
Beispiel #2
0
 public void _on_SpawnTimer_timeout()
 {
     particles.spawnParticles();
     startSpawnDelay(min_time, max_time);
 }
Beispiel #3
0
 public void _on_SpawnTimer_timeout()
 {
     particles.spawnParticles();
     startSpawnDelay(CurrentData.min_time, CurrentData.max_time);
 }