bcirpggithubmirror/GodotUserInterface/SaveLoad.gd

9 lines
234 B
GDScript3
Raw Normal View History

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