feat: 创建 upgrade 数据resource,编写upgrade_panel.gd动态生成升级卡片

This commit is contained in:
luke358
2026-05-21 16:04:27 +08:00
parent ce3813c5dc
commit 1796d9e47d
14 changed files with 170 additions and 17 deletions
+3
View File
@@ -31,6 +31,7 @@ theme_override_constants/margin_bottom = 8
layout_mode = 2
[node name="Icon" type="TextureRect" parent="MarginContainer/Control" unique_id=1868739971]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 100)
layout_mode = 0
offset_right = 40.0
@@ -40,6 +41,7 @@ expand_mode = 1
stretch_mode = 5
[node name="Name" type="Label" parent="MarginContainer/Control" unique_id=1952735558]
unique_name_in_owner = true
layout_mode = 0
offset_left = 100.0
offset_top = 10.0
@@ -50,6 +52,7 @@ label_settings = SubResource("LabelSettings_mkexl")
vertical_alignment = 1
[node name="Description" type="Label" parent="MarginContainer/Control" unique_id=1620881988]
unique_name_in_owner = true
modulate = Color(0.827451, 0.9098039, 0.17254902, 1)
layout_mode = 0
offset_left = 100.0