9 lines
228 B
GDScript
9 lines
228 B
GDScript
class_name GameManager extends Node
|
|
|
|
|
|
func _unhandled_input(event: InputEvent) -> void:
|
|
if event.is_action_pressed("dev_exit"):
|
|
get_tree().quit()
|
|
if event.is_action_pressed("dev_reload"):
|
|
get_tree().reload_current_scene()
|