2024-05-15 13:44:54 +08:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://c31r8s27j4dcm"]
|
2024-05-06 17:28:42 +08:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://UI/psl/button_model.gd" id="1_5equs"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://7aq7b45v8ubb" path="res://Assets/psl/按钮背景.png" id="2_25wt4"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dsj7nbbmesf2c" path="res://Assets/psl/按钮_绿.png" id="3_ak2sf"]
|
|
|
|
[ext_resource type="Script" path="res://UI/psl/Button.gd" id="4_w4uq3"]
|
2024-05-15 13:44:54 +08:00
|
|
|
[ext_resource type="AudioStream" uid="uid://dai33tg2h3ml3" path="res://Assets/music/点击.MP3" id="5_rxhic"]
|
2024-05-06 17:28:42 +08:00
|
|
|
|
|
|
|
[node name="ButtonModel" type="VBoxContainer"]
|
|
|
|
scale = Vector2(0.6, 0.6)
|
|
|
|
script = ExtResource("1_5equs")
|
|
|
|
|
|
|
|
[node name="Button" type="TextureRect" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
focus_mode = 2
|
|
|
|
texture = ExtResource("2_25wt4")
|
|
|
|
|
|
|
|
[node name="Button" type="Sprite2D" parent="Button"]
|
|
|
|
position = Vector2(64, 119)
|
|
|
|
scale = Vector2(0.8, 0.8)
|
|
|
|
texture = ExtResource("3_ak2sf")
|
|
|
|
script = ExtResource("4_w4uq3")
|
|
|
|
|
2024-05-15 13:44:54 +08:00
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="Button"]
|
|
|
|
stream = ExtResource("5_rxhic")
|
|
|
|
|
2024-05-06 17:28:42 +08:00
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Button"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 104.0
|
|
|
|
offset_bottom = 110.0
|
|
|
|
theme_override_constants/margin_left = 24
|
|
|
|
theme_override_constants/margin_top = -38
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Button/MarginContainer"]
|
|
|
|
modulate = Color(0.00392157, 0, 0, 1)
|
|
|
|
custom_minimum_size = Vector2(80, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 18
|
|
|
|
text = "按钮"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
autowrap_mode = 2
|