added timeout to broken objects

This commit is contained in:
derek
2024-07-16 16:52:06 -05:00
parent 262abd7d95
commit 220ab472d2
2 changed files with 14 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
extends Node3D
@export var timer : Node
@export var sound : Node
@export var pitch_scale_amt = .5
@@ -14,3 +15,7 @@ func _ready():
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _on_timer_timeout():
queue_free()