1
0
Fork 0
1bit-godot-course/space-shooter/Scenes/Stages/MainMenu.gd

11 lines
256 B
GDScript3
Raw Normal View History

2021-01-23 19:20:30 +00:00
extends Node
func _process(_delta):
if Input.is_action_just_pressed("ui_select"):
# warning-ignore:return_value_discarded
get_tree().change_scene("res://Scenes/Stages/World.tscn")
if Input.is_action_just_pressed("ui_cancel"):
get_tree().quit()