1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00
Files
Dog-Lynx-And-HCN/components/UI/WeaponShow.tscn
T
fallingshrimp b8bba34d83 refactor(UI): 清理武器展示界面的冗余代码和配置
移除武器展示界面中不必要的可见性控制代码,统一通过脚本管理可见性
简化场景文件中的冗余属性设置,保持与脚本逻辑一致
2025-12-14 15:52:57 +08:00

42 lines
1.4 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://c7747qr83iojj"]
[ext_resource type="Theme" uid="uid://b6nox1qqh50ub" path="res://themes/smallText.tres" id="1_ua7kx"]
[ext_resource type="Script" uid="uid://ohfsaaweoxpb" path="res://scripts/Statemachine/WeaponShow.gd" id="2_cojxr"]
[ext_resource type="PackedScene" uid="uid://bbm8l3hr4ihar" path="res://components/UI/ItemShow.tscn" id="2_yqc2h"]
[ext_resource type="PackedScene" uid="uid://b2qhes4apaxsj" path="res://components/Weapons/NuclearBomb.tscn" id="3_gh1wm"]
[ext_resource type="Texture2D" uid="uid://cp57lmeohvo3o" path="res://resources/weapons/nuclear-bomb.png" id="4_yyc4p"]
[node name="WeaponShow" type="HBoxContainer"]
offset_right = 189.0
offset_bottom = 22.0
theme = ExtResource("1_ua7kx")
script = ExtResource("2_cojxr")
weapon = ExtResource("3_gh1wm")
[node name="operation" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "获得武器"
[node name="avatar" type="TextureRect" parent="."]
unique_name_in_owner = true
custom_minimum_size = Vector2(20, 20)
layout_mode = 2
size_flags_horizontal = 10
size_flags_vertical = 4
texture = ExtResource("4_yyc4p")
expand_mode = 1
stretch_mode = 5
[node name="name" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "核弹控制器"
[node name="soul" parent="." instance=ExtResource("2_yqc2h")]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
type = 4
count = 1