6 lines
122 B
GDScript
6 lines
122 B
GDScript
extends Node3D
|
|
|
|
func _unhandled_input(event):
|
|
if event.is_action_pressed("restart"):
|
|
get_tree().reload_current_scene()
|