12 lines
311 B
GDScript
12 lines
311 B
GDScript
extends Control
|
|
|
|
@onready var start_button = get_node("TextureRect/MarginContainer/HBoxContainer/VBoxContainer/PlayButton")
|
|
|
|
func main():
|
|
print("Hey!")
|
|
|
|
func _start_button_pressed():
|
|
get_tree().change_scene_to_file("res://Level_Core.tscn")
|
|
|
|
func _ready():
|
|
start_button.pressed.connect(_start_button_pressed)
|