RustHacker/scenes/menu.gd

20 lines
444 B
GDScript3
Raw Normal View History

2026-01-14 22:15:18 +11:00
extends Control
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
PlayerInventory.hide()
Clock.hide()
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_play_button_pressed() -> void:
PlayerInventory.show()
Clock.show()
get_tree().change_scene_to_file("res://scenes/workshop.tscn")