challenge-editor/scene/bag_tab_button.tscn
2024-09-12 11:50:27 +08:00

37 lines
981 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://3g5ba73apov5"]
[ext_resource type="Texture2D" uid="uid://cp875cxgw5rq1" path="res://res/ui/ui_008_bag/图层 1.png" id="1_ex42u"]
[ext_resource type="Script" path="res://scene/bag_tab_button.gd" id="2_dyt0t"]
[node name="bag_tab_button" type="TextureRect"]
custom_minimum_size = Vector2(96, 68)
offset_right = 96.0
offset_bottom = 58.0
texture = ExtResource("1_ex42u")
expand_mode = 1
stretch_mode = 5
script = ExtResource("2_dyt0t")
[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 = 44
text = "1"
horizontal_alignment = 1
[node name="Button" type="Button" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
focus_mode = 0
flat = true
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]