19 lines
429 B
GDScript
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 ""
|