bcirpggithubmirror/Godot/MainMenu/GodotUserInterface/NewGame.gd

9 lines
232 B
GDScript3
Raw Normal View History

2021-09-27 00:15:52 +00:00
extends Label
func _ready():
pass # Replace with function body.
func _on_NewGame_gui_input(event):
if (event is InputEventMouseButton && event.pressed && event.button_index == 1):
2021-10-03 19:06:16 +00:00
get_tree().change_scene("res://NewGame.tscn")