2024-05-21 10:20:43 +08:00
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://bsb3nyi8xaqwh"]
|
2024-05-16 16:30:14 +08:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://trainings/trainingPanel/trainingPanel.gd" id="1_fka8c"]
|
2024-05-17 15:08:24 +08:00
|
|
|
[ext_resource type="Texture2D" uid="uid://x4cnaa1ay6so" path="res://Assets/重来重新开始_浅.png" id="2_db1sa"]
|
2024-05-21 10:20:43 +08:00
|
|
|
[ext_resource type="Theme" uid="uid://bycedcl2nwwlu" path="res://ui_theme.tres" id="2_hmh0f"]
|
2024-05-17 15:08:24 +08:00
|
|
|
[ext_resource type="Texture2D" uid="uid://0txfneuxl2yq" path="res://Assets/重来重新开始_深.png" id="3_0sd5r"]
|
|
|
|
|
2024-05-22 15:03:03 +08:00
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q5iy8"]
|
2024-05-17 15:08:24 +08:00
|
|
|
bg_color = Color(0.189249, 0.649753, 0.849873, 1)
|
|
|
|
border_width_left = 4
|
|
|
|
border_width_top = 4
|
|
|
|
border_width_right = 4
|
|
|
|
border_width_bottom = 4
|
|
|
|
border_color = Color(0.00784314, 0.466667, 0.835294, 1)
|
|
|
|
|
|
|
|
[sub_resource type="Theme" id="Theme_kqpcn"]
|
2024-05-22 15:03:03 +08:00
|
|
|
Button/styles/normal = SubResource("StyleBoxFlat_q5iy8")
|
2024-05-16 16:30:14 +08:00
|
|
|
|
|
|
|
[node name="TrainingPanel" type="Node"]
|
|
|
|
script = ExtResource("1_fka8c")
|
|
|
|
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
|
|
anchors_preset = 2
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2024-05-17 15:08:24 +08:00
|
|
|
offset_left = 60.9691
|
|
|
|
offset_top = -80.3169
|
|
|
|
offset_right = 118.969
|
|
|
|
offset_bottom = -24.3169
|
2024-05-16 16:30:14 +08:00
|
|
|
grow_vertical = 0
|
2024-05-17 15:08:24 +08:00
|
|
|
scale = Vector2(0.8, 0.8)
|
2024-05-21 10:20:43 +08:00
|
|
|
theme = ExtResource("2_hmh0f")
|
2024-05-17 15:08:24 +08:00
|
|
|
metadata/_edit_use_anchors_ = true
|
2024-05-16 16:30:14 +08:00
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
|
|
|
|
layout_mode = 2
|
2024-05-17 15:08:24 +08:00
|
|
|
theme_override_constants/margin_left = 2
|
|
|
|
theme_override_constants/margin_top = 2
|
|
|
|
theme_override_constants/margin_right = 2
|
|
|
|
theme_override_constants/margin_bottom = 2
|
2024-05-16 16:30:14 +08:00
|
|
|
|
2024-05-17 15:08:24 +08:00
|
|
|
[node name="Restart" type="TextureButton" parent="PanelContainer/MarginContainer"]
|
2024-05-16 16:30:14 +08:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 0
|
|
|
|
size_flags_vertical = 0
|
2024-05-17 15:08:24 +08:00
|
|
|
theme = SubResource("Theme_kqpcn")
|
|
|
|
texture_normal = ExtResource("2_db1sa")
|
|
|
|
texture_hover = ExtResource("3_0sd5r")
|
|
|
|
stretch_mode = 5
|
|
|
|
|
|
|
|
[connection signal="button_down" from="PanelContainer/MarginContainer/Restart" to="." method="_on_restart_button_down"]
|
|
|
|
[connection signal="mouse_entered" from="PanelContainer/MarginContainer/Restart" to="." method="_on_restart_mouse_entered"]
|
|
|
|
[connection signal="mouse_exited" from="PanelContainer/MarginContainer/Restart" to="." method="_on_restart_mouse_exited"]
|