mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-01 00:41:54 +08:00
refactor(场景): 优化武器面板布局并移除多余武器资源
将武器面板中的HBoxContainer包装在ScrollContainer中以支持滚动 移除了Rooster场景中未使用的大激光和紫水晶武器资源
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dekcqdhrjs07u"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://d3qojeqa3difn" path="res://components/Abstracts/FullscreenPanelBase.tscn" id="1_yodmq"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Panels/WeaponPanel.gd" id="2_6alu1"]
|
||||
[ext_resource type="Script" uid="uid://bm4drvag20frp" path="res://scripts/Contents/Panels/WeaponPanel.gd" id="2_6alu1"]
|
||||
|
||||
[node name="Weapon" instance=ExtResource("1_yodmq")]
|
||||
offset_top = 0.0
|
||||
@@ -11,8 +11,15 @@ script = ExtResource("2_6alu1")
|
||||
[node name="wrapper" parent="content" index="1"]
|
||||
theme_override_constants/separation = 50
|
||||
|
||||
[node name="box" type="HBoxContainer" parent="content/wrapper" index="0"]
|
||||
[node name="scroller" type="ScrollContainer" parent="content/wrapper" index="0"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
follow_focus = true
|
||||
|
||||
[node name="box" type="HBoxContainer" parent="content/wrapper/scroller" index="0"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 6
|
||||
size_flags_vertical = 6
|
||||
theme_override_constants/separation = 20
|
||||
alignment = 1
|
||||
|
||||
Reference in New Issue
Block a user