1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00
Files
Dog-Lynx-And-HCN/components/UI/FieldShow.tscn
T
fallingshrimp a6ab15618c feat: 添加鸡蛋资源并实现字段显示优势功能
- 新增鸡蛋资源文件及导入配置
- 在FieldShow组件中添加showAdvantage属性控制优势显示
- 修正武器类默认名称错误
- 添加entityNegativeFields数组存储负数字段
2025-09-30 17:51:22 +08:00

48 lines
1.4 KiB
Plaintext

[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_3ylui"]
font_size = 13
[node name="FieldShow" type="HBoxContainer"]
offset_right = 144.0
offset_bottom = 18.0
script = ExtResource("1_gwocj")
metadata/_edit_horizontal_guides_ = [18.0]
[node name="icon" type="TextureRect" parent="."]
custom_minimum_size = Vector2(14, 14)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("2_q02yi")
expand_mode = 1
stretch_mode = 5
[node name="name" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 11
theme = ExtResource("2_x62bb")
text = "生命上限"
horizontal_alignment = 1
[node name="sep" type="ColorRect" parent="."]
custom_minimum_size = Vector2(20, 1)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
size_flags_stretch_ratio = 16.0
[node name="value" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
size_flags_vertical = 8
text = "0"
label_settings = SubResource("LabelSettings_3ylui")
horizontal_alignment = 1