11 lines
215 B
GDScript
11 lines
215 B
GDScript
|
extends Node
|
||
|
|
||
|
|
||
|
# Called when the node enters the scene tree for the first time.
|
||
|
func _ready():
|
||
|
pass # Replace with function body.
|
||
|
|
||
|
func _input(event):
|
||
|
if event.is_action_pressed(&"ui_cancel"):
|
||
|
get_tree().quit()
|