1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

feat: 增加FieldShow组件的maxed属性,优化最大值显示逻辑

This commit is contained in:
2025-09-06 19:29:46 +08:00
parent 6eefcac5e1
commit f387e206d5
5 changed files with 16 additions and 3 deletions
+5 -2
View File
@@ -1,9 +1,12 @@
[gd_scene load_steps=4 format=3 uid="uid://cw5ip3rw4r3pp"]
[gd_scene load_steps=5 format=3 uid="uid://cw5ip3rw4r3pp"]
[ext_resource type="Script" path="res://scripts/Statemachine/FieldShow.gd" id="1_gwocj"]
[ext_resource type="Texture2D" uid="uid://iu5i8ullbhf6" path="res://resources/items/apple.svg" id="2_q02yi"]
[ext_resource type="Theme" uid="uid://b6nox1qqh50ub" path="res://themes/smallText.tres" id="2_x62bb"]
[sub_resource type="LabelSettings" id="LabelSettings_ossj7"]
font_size = 13
[node name="FieldShow" type="HBoxContainer"]
offset_right = 144.0
offset_bottom = 18.0
@@ -39,6 +42,6 @@ unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
size_flags_vertical = 8
theme = ExtResource("2_x62bb")
text = "0"
label_settings = SubResource("LabelSettings_ossj7")
horizontal_alignment = 1