project_teddy/scenes/sceneChangerConfirm.tscn

59 lines
1.5 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://tr445hv80hhf"]
[ext_resource type="Script" path="res://scripts/sceneChangerConfirm.gd" id="1_xg0tq"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eakrh"]
[node name="sceneChangerConfirm" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_xg0tq")
[node name="Panel" type="Panel" parent="."]
modulate = Color(0.298039, 0.298039, 0.298039, 1)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -121.0
offset_top = -62.5
offset_right = 121.0
offset_bottom = 62.5
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_eakrh")
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 476.0
offset_top = 272.0
offset_right = 672.0
offset_bottom = 324.0
text = "Are you sure you'd like to
change scenes?"
horizontal_alignment = 1
[node name="yesButton" type="Button" parent="."]
layout_mode = 0
offset_left = 461.0
offset_top = 338.0
offset_right = 555.0
offset_bottom = 379.0
text = "Yes"
[node name="noButton" type="Button" parent="."]
layout_mode = 0
offset_left = 597.0
offset_top = 338.0
offset_right = 691.0
offset_bottom = 379.0
text = "No"
[connection signal="pressed" from="yesButton" to="." method="_on_yes_button_pressed"]
[connection signal="pressed" from="noButton" to="." method="_on_no_button_pressed"]