From 54ddd94739d7efa3b7539d638edaf89b023ef903 Mon Sep 17 00:00:00 2001 From: Nemrav <> Date: Sun, 17 Nov 2024 16:33:44 -0400 Subject: revert UI node type change --- game/src/Game/GameSession/BillboardManager.gd | 4 ++-- game/src/Game/GameSession/GameSession.tscn | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'game') diff --git a/game/src/Game/GameSession/BillboardManager.gd b/game/src/Game/GameSession/BillboardManager.gd index f6b96c0..5a6fea6 100644 --- a/game/src/Game/GameSession/BillboardManager.gd +++ b/game/src/Game/GameSession/BillboardManager.gd @@ -56,8 +56,8 @@ func _ready(): #multimesh.instance_count = positions.size() #multimesh.visible_instance_count = positions.size() print("===============") - print(positions) - print(positions.size()) + #print(positions) + #print(positions.size()) # Set the transform of the instances. """for i in multimesh.visible_instance_count: multimesh.set_instance_transform(i, Transform3D(Basis(), diff --git a/game/src/Game/GameSession/GameSession.tscn b/game/src/Game/GameSession/GameSession.tscn index b5edb3d..e8354a5 100644 --- a/game/src/Game/GameSession/GameSession.tscn +++ b/game/src/Game/GameSession/GameSession.tscn @@ -46,8 +46,13 @@ script = ExtResource("4_b3l7b") [node name="UICanvasLayer" type="CanvasLayer" parent="."] -[node name="UI" type="GUINode" parent="UICanvasLayer"] +[node name="UI" type="Control" parent="UICanvasLayer"] +layout_mode = 3 anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 mouse_filter = 2 [node name="ProvinceOverviewPanel" type="GUINode" parent="UICanvasLayer/UI"] -- cgit v1.2.3-56-ga3b1