[gd_scene load_steps=4 format=3 uid="uid://ie52mo5t6l2h"] [ext_resource type="Script" path="res://src/game/ui/mapEditorSelectObject/MapEditorSelectObjectPanel.cs" id="1_hdfkd"] [ext_resource type="Material" uid="uid://cces3bhds7jyi" path="res://resource/material/Blend.tres" id="2_j6gjm"] [ext_resource type="Texture2D" uid="uid://bn47bmilcw4x0" path="res://resource/sprite/ui/commonIcon/Select2.png" id="3_4nhjm"] [node name="MapEditorSelectObject" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_hdfkd") [node name="ScrollContainer" type="ScrollContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="ObjectButton" type="Button" parent="ScrollContainer"] custom_minimum_size = Vector2(150, 192) layout_mode = 2 [node name="PreviewImage" type="TextureRect" parent="ScrollContainer/ObjectButton"] material = ExtResource("2_j6gjm") layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 2.0 offset_top = 2.0 offset_right = -2.0 offset_bottom = -44.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 stretch_mode = 5 [node name="ObjectName" type="Label" parent="ScrollContainer/ObjectButton"] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -43.0 offset_right = 150.0 offset_bottom = 43.0 grow_horizontal = 2 grow_vertical = 0 scale = Vector2(0.5, 0.5) text = "武器" horizontal_alignment = 1 vertical_alignment = 1 autowrap_mode = 3 clip_text = true text_overrun_behavior = 3 [node name="SelectImage" type="NinePatchRect" parent="ScrollContainer/ObjectButton"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("3_4nhjm") region_rect = Rect2(0, 0, 36, 36) patch_margin_left = 8 patch_margin_top = 8 patch_margin_right = 8 patch_margin_bottom = 8