challenge-editor/scene/select_button.tscn
2024-09-11 22:50:02 +08:00

30 lines
1.0 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://dnhitpsup8wh4"]
[ext_resource type="StyleBox" uid="uid://criiod0onsrre" path="res://res/ui/ui_003_select/unselected.tres" id="1_xw1y0"]
[ext_resource type="Script" path="res://scene/select_button.gd" id="2_nvp3e"]
[ext_resource type="Texture2D" uid="uid://li8e5ntlgcpg" path="res://res/ui/ui_003_select/test.png" id="3_3q3ca"]
[node name="Button" type="Button"]
clip_contents = true
custom_minimum_size = Vector2(320, 99)
offset_right = 8.0
offset_bottom = 8.0
size_flags_horizontal = 0
theme_override_styles/hover_pressed = ExtResource("1_xw1y0")
theme_override_styles/hover = ExtResource("1_xw1y0")
theme_override_styles/pressed = ExtResource("1_xw1y0")
theme_override_styles/normal = ExtResource("1_xw1y0")
script = ExtResource("2_nvp3e")
[node name="TextureRect" type="TextureRect" parent="."]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_3q3ca")
expand_mode = 1
stretch_mode = 6