first commit
This commit is contained in:
8
Scripts/fuoco_artificio.gd
Normal file
8
Scripts/fuoco_artificio.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user