Files
Ecosystem-Project/scenes/main/hud.gd
2025-08-26 18:21:20 +02:00

19 lines
429 B
GDScript

extends CanvasLayer
@onready var InfoMenu = $MenuBar/Info
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta: float) -> void:
# pass
func GetMenuPressed(index) -> String:
if index == 0: return "Camera"
elif index == 1: return "World"
else: return ""