mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 00:11:54 +08:00
81c84e4dc8
实现武器面板的打开关闭逻辑,包括: - 创建WeaponPanel脚本处理武器转移 - 在UIState中添加武器面板输入控制 - 更新UI场景添加武器面板节点 - 简化武器面板场景结构
17 lines
637 B
Plaintext
17 lines
637 B
Plaintext
[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"]
|
|
|
|
[node name="Weapon" instance=ExtResource("1_yodmq")]
|
|
script = ExtResource("2_6alu1")
|
|
|
|
[node name="wrapper" parent="content" index="0"]
|
|
theme_override_constants/separation = 50
|
|
|
|
[node name="box" type="HBoxContainer" parent="content/wrapper" index="0"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
alignment = 1
|