cawez_puzzlebox/objectives/objective.gd
2024-06-22 18:04:25 -04:00

15 lines
314 B
GDScript

extends Area3D
# Called when the node enters the scene tree for the first time.
func _ready():
body_entered.connect(_on_area_entered)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _on_area_entered(body : Node3D) -> void:
Globals.restart = true