[gd_scene load_steps=8 format=3 uid="uid://b6gbolo1o7wdf"] [ext_resource type="Script" uid="uid://cg7wdaw03bovq" path="res://scene/prop/prop_bag.gd" id="1_f3hpu"] [ext_resource type="Texture2D" uid="uid://dsj3l0baqg1g7" path="res://asset/art/ui/小蝶笔记.png" id="2_3s314"] [ext_resource type="AudioStream" uid="uid://dyjifofhdx25w" path="res://asset/audio/sfx/交互/打开背包.wav" id="2_xo6jf"] [ext_resource type="PackedScene" uid="uid://wxd25ec3cqyy" path="res://scene/prop/prop_bag_button.tscn" id="3_wlvs1"] [ext_resource type="Texture2D" uid="uid://dl214l7im21sf" path="res://asset/art/prop/c01/院长的信.png" id="4_wlvs1"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mnmsg"] bg_color = Color(0.6, 0.6, 0.6, 0) [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_wlvs1"] [node name="PropBag" type="CanvasLayer"] process_mode = 3 [node name="Bag" type="Panel" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_f3hpu") [node name="OpenBagSfx" type="AudioStreamPlayer" parent="Bag"] stream = ExtResource("2_xo6jf") [node name="TextureRect" type="TextureRect" parent="Bag"] layout_mode = 1 anchors_preset = 14 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 offset_top = -120.0 offset_bottom = 120.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("2_3s314") expand_mode = 5 stretch_mode = 2 [node name="ScrollContainer" type="ScrollContainer" parent="Bag"] custom_minimum_size = Vector2(120, 160) layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -139.0 offset_top = -82.0 offset_right = -19.0 offset_bottom = 78.0 grow_horizontal = 2 grow_vertical = 2 horizontal_scroll_mode = 0 [node name="ButtonsVBox" type="VBoxContainer" parent="Bag/ScrollContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 0 [node name="Button" parent="Bag/ScrollContainer/ButtonsVBox" instance=ExtResource("3_wlvs1")] layout_mode = 2 [node name="Button2" parent="Bag/ScrollContainer/ButtonsVBox" instance=ExtResource("3_wlvs1")] layout_mode = 2 text = "示例按钮" [node name="Button3" parent="Bag/ScrollContainer/ButtonsVBox" instance=ExtResource("3_wlvs1")] layout_mode = 2 text = "示例按钮" [node name="DisplayVBox" type="VBoxContainer" parent="Bag"] layout_mode = 0 offset_left = 300.0 offset_top = 64.0 offset_right = 440.0 offset_bottom = 248.0 [node name="TextureRect" type="TextureRect" parent="Bag/DisplayVBox"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 100) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 texture = ExtResource("4_wlvs1") expand_mode = 3 [node name="Content" type="TextEdit" parent="Bag/DisplayVBox"] unique_name_in_owner = true custom_minimum_size = Vector2(140, 90) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 0 theme_override_colors/font_readonly_color = Color(0.337438, 0.120804, 0.0401172, 1) theme_override_font_sizes/font_size = 9 theme_override_styles/normal = SubResource("StyleBoxFlat_mnmsg") theme_override_styles/read_only = SubResource("StyleBoxEmpty_wlvs1") text = "1 2 3 4 5" editable = false wrap_mode = 1 scroll_smooth = true