Files
fnaf-gameshow-fangame/Assets/Scripts/UI/main_menu.gd
2026-01-13 03:47:51 +00:00

16 lines
357 B
GDScript

extends Control
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
pass # Replace with function body.
func _on_new_game_button_pressed() -> void:
get_tree().change_scene_to_file("res://Scenes/Levels/office.tscn")
print("changed")
pass # Replace with function body.