Adding menu
This commit is contained in:
5
scripts/gui/menu.gd
Normal file
5
scripts/gui/menu.gd
Normal file
@@ -0,0 +1,5 @@
|
||||
extends Control
|
||||
|
||||
func _input(event):
|
||||
if event.is_action_pressed("plant"):
|
||||
get_tree().change_scene_to_file("res://Game.tscn")
|
||||
Reference in New Issue
Block a user