diff options
Diffstat (limited to 'game/src/Game/GameSession')
-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"] |