[gd_scene load_steps=7 format=3 uid="uid://yhr1n6e2m2b6"] [ext_resource type="Script" path="res://trainings/stepTip/stepTip.gd" id="1_wxsfb"] [ext_resource type="Theme" uid="uid://bycedcl2nwwlu" path="res://ui_theme.tres" id="2_k8n1n"] [ext_resource type="Texture2D" uid="uid://x4cnaa1ay6so" path="res://Assets/重来重新开始_浅.png" id="3_6wod8"] [ext_resource type="Texture2D" uid="uid://0txfneuxl2yq" path="res://Assets/重来重新开始_深.png" id="4_hqt7b"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_l2bt2"] 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_xlivw"] Button/styles/normal = SubResource("StyleBoxFlat_l2bt2") [node name="StepTip" type="Node2D"] script = ExtResource("1_wxsfb") [node name="PanelContainer" type="PanelContainer" parent="."] offset_right = 300.0 offset_bottom = 240.0 theme = ExtResource("2_k8n1n") [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"] layout_mode = 2 [node name="Control" type="Control" parent="PanelContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 [node name="ColorRect" type="ColorRect" parent="PanelContainer/VBoxContainer/Control"] layout_mode = 0 offset_right = 300.0 offset_bottom = 30.0 color = Color(0.0509804, 0.388235, 0.752941, 1) [node name="Label" type="Label" parent="PanelContainer/VBoxContainer/Control"] layout_mode = 2 offset_right = 300.0 offset_bottom = 30.0 text = "操作提示" horizontal_alignment = 1 vertical_alignment = 1 autowrap_mode = 1 [node name="Control2" type="Control" parent="PanelContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 size_flags_stretch_ratio = 6.0 [node name="ColorRect" type="ColorRect" parent="PanelContainer/VBoxContainer/Control2"] layout_mode = 0 offset_right = 300.0 offset_bottom = 180.0 color = Color(0.0509804, 0.388235, 0.752941, 0.447059) [node name="ScrollContainer" type="ScrollContainer" parent="PanelContainer/VBoxContainer/Control2"] layout_mode = 0 offset_left = 11.0 offset_top = 6.0 offset_right = 291.0 offset_bottom = 181.0 [node name="Label" type="Label" parent="PanelContainer/VBoxContainer/Control2/ScrollContainer"] clip_contents = true custom_minimum_size = Vector2(280, 0) layout_mode = 2 autowrap_mode = 1 [node name="Control3" type="Control" parent="PanelContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 [node name="ColorRect" type="ColorRect" parent="PanelContainer/VBoxContainer/Control3"] layout_mode = 0 offset_right = 300.0 offset_bottom = 30.0 color = Color(0.0509804, 0.388235, 0.752941, 1) [node name="Restart" type="TextureButton" parent="PanelContainer/VBoxContainer/Control3"] layout_mode = 0 offset_left = 5.0 offset_top = 2.0 offset_right = 57.0 offset_bottom = 54.0 scale = Vector2(0.5, 0.5) size_flags_horizontal = 0 size_flags_vertical = 0 theme = SubResource("Theme_xlivw") texture_normal = ExtResource("3_6wod8") texture_hover = ExtResource("4_hqt7b") stretch_mode = 5 [connection signal="button_down" from="PanelContainer/VBoxContainer/Control3/Restart" to="." method="_on_restart_button_down"] [connection signal="mouse_entered" from="PanelContainer/VBoxContainer/Control3/Restart" to="." method="_on_restart_mouse_entered"] [connection signal="mouse_exited" from="PanelContainer/VBoxContainer/Control3/Restart" to="." method="_on_restart_mouse_exited"]