Gallery/ok_main.gd

13 lines
332 B
GDScript3
Raw Normal View History

2025-05-03 17:58:07 +00:00
extends Node3D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
if Input.is_action_pressed("restart"):
get_tree().reload_current_scene()