HUD Rework and integration
This commit is contained in:
18
scenes/main/hud.gd
Normal file
18
scenes/main/hud.gd
Normal file
@@ -0,0 +1,18 @@
|
||||
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 ""
|
||||
1
scenes/main/hud.gd.uid
Normal file
1
scenes/main/hud.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://ce6mehx86c03f
|
||||
Reference in New Issue
Block a user