11 lines
169 B
GDScript
11 lines
169 B
GDScript
extends Node3D
|
|
|
|
@onready var timer : Timer = $Timer
|
|
var duration : float
|
|
|
|
func _ready() -> void:
|
|
timer.start(duration)
|
|
|
|
func _on_timer_timeout() -> void:
|
|
queue_free()
|