Files
DartGame/Scenes/main.gd
T
2026-06-20 16:19:33 -05:00

6 lines
122 B
GDScript

extends Node3D
func _unhandled_input(event):
if event.is_action_pressed("restart"):
get_tree().reload_current_scene()