skullball/godot/scenes/ui/player_stats_panel.tscn
2026-08-02 23:14:41 +03:00

44 lines
1.5 KiB
Plaintext

[gd_scene format=3 uid="uid://thi85gv3blli"]
[node name="player_stats_panel" type="PlayerStatsPanel" unique_id=820294448 node_paths=PackedStringArray("player_name", "stats_grid")]
player_name = NodePath("margin_container/v_box_container/label")
stats_grid = NodePath("margin_container/v_box_container/grid_container")
visible = false
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -6.0
offset_top = -6.0
offset_right = 6.0
offset_bottom = 6.0
grow_horizontal = 2
grow_vertical = 2
[node name="margin_container" type="MarginContainer" parent="." unique_id=1383901453]
layout_mode = 2
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20
[node name="v_box_container" type="VBoxContainer" parent="margin_container" unique_id=1545420438]
layout_mode = 2
[node name="label" type="Label" parent="margin_container/v_box_container" unique_id=1011731554]
layout_mode = 2
text = "PlayerName"
horizontal_alignment = 1
[node name="grid_container" type="GridContainer" parent="margin_container/v_box_container" unique_id=1825400706]
layout_mode = 2
columns = 2
[node name="button" type="Button" parent="margin_container/v_box_container" unique_id=210952362]
layout_mode = 2
size_flags_horizontal = 4
text = "Close"
[connection signal="pressed" from="margin_container/v_box_container/button" to="." method="close"]