58 lines
1.7 KiB
Plaintext
58 lines
1.7 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://eeevmyw1a4cm"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bbg61kqb7jv4c" path="res://图片/UI/Background/绘制齿轮背景图.png" id="1_7wx15"]
|
|
[ext_resource type="Script" uid="uid://bpaoua3tyv5ju" path="res://Script/UI/DevUi.cs" id="1_g6lk2"]
|
|
|
|
[node name="DevUi" type="Control" node_paths=PackedStringArray("itemDevList")]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_g6lk2")
|
|
itemDevList = NodePath("VBoxContainer/HBoxContainer/ItemDev")
|
|
|
|
[node name="background" type="TextureRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("1_7wx15")
|
|
expand_mode = 1
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Debug菜单(F1)"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="ItemDev" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(200, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/ItemDev"]
|
|
layout_mode = 2
|
|
text = "背包物品"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="清空背包" type="Button" parent="VBoxContainer/HBoxContainer/ItemDev"]
|
|
layout_mode = 2
|
|
text = "清空背包"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/ItemDev/清空背包" to="." method="ClearItems"]
|