diff options
author | Nemrav <> | 2024-11-17 21:33:44 +0100 |
---|---|---|
committer | Nemrav <> | 2024-11-17 21:33:44 +0100 |
commit | 54ddd94739d7efa3b7539d638edaf89b023ef903 (patch) | |
tree | 63924d012a668b01627a71882c575a6c8fff2c9d /game | |
parent | 005bc5885a5ff436982246f12e9cfa13231bcf82 (diff) |
revert UI node type change
Diffstat (limited to 'game')
-rw-r--r-- | game/src/Game/GameSession/BillboardManager.gd | 4 | ||||
-rw-r--r-- | game/src/Game/GameSession/GameSession.tscn | 7 |
2 files changed, 8 insertions, 3 deletions
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"] |