35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://lleg0undaq1q"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cpy1wo8fwnnr2" path="res://res/ui/ui_020_event/tuceng307.png" id="1_6roma"]
|
|
[ext_resource type="Script" path="res://scene/event_choice_button.gd" id="2_mr7bp"]
|
|
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="2_wanh2"]
|
|
|
|
[node name="event_choice_button" type="NinePatchRect"]
|
|
custom_minimum_size = Vector2(414, 83)
|
|
offset_right = 414.0
|
|
offset_bottom = 83.0
|
|
texture = ExtResource("1_6roma")
|
|
patch_margin_left = 12
|
|
patch_margin_top = 5
|
|
patch_margin_right = 41
|
|
patch_margin_bottom = 12
|
|
script = ExtResource("2_mr7bp")
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "事件选项1"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="ToolButton" parent="." instance=ExtResource("2_wanh2")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
|
|
[connection signal="pressed" from="ToolButton" to="." method="_on_tool_button_pressed"]
|