Files
tgcc-artest/Scripts/fuoco_artificio.gd
Matteo Sonaglioni f7b334b21c first commit
2026-03-10 23:54:57 +01:00

9 lines
228 B
GDScript

extends GPUParticles3D
func _ready() -> void:
# Quando spawna, emette le particelle
emitting = true
# Si autodistrugge dopo che le particelle sono svanite
await get_tree().create_timer(lifetime + 0.5).timeout
queue_free()