2022-12-13 16:51:04 +01:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://dnveeke63vq8x"]
|
2017-06-30 08:39:26 +02:00
|
|
|
|
2022-12-13 16:51:04 +01:00
|
|
|
[ext_resource type="Script" path="res://scene_a.gd" id="1"]
|
2017-06-30 08:39:26 +02:00
|
|
|
|
2021-03-03 06:06:27 +01:00
|
|
|
[node name="SceneA" type="Panel"]
|
2022-12-13 16:51:04 +01:00
|
|
|
anchors_preset = 15
|
2017-10-30 12:38:39 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2022-12-13 16:51:04 +01:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2017-06-30 08:39:26 +02:00
|
|
|
size_flags_horizontal = 2
|
|
|
|
size_flags_vertical = 2
|
2022-12-13 16:51:04 +01:00
|
|
|
script = ExtResource("1")
|
2017-06-30 08:39:26 +02:00
|
|
|
|
2021-03-03 06:06:27 +01:00
|
|
|
[node name="Label" type="Label" parent="."]
|
2022-03-26 11:00:50 +01:00
|
|
|
offset_left = 64.0
|
|
|
|
offset_top = 48.0
|
|
|
|
offset_right = 104.0
|
|
|
|
offset_bottom = 62.0
|
2017-06-30 08:39:26 +02:00
|
|
|
size_flags_vertical = 0
|
|
|
|
text = "This is scene A."
|
|
|
|
|
2021-03-03 06:06:27 +01:00
|
|
|
[node name="GoToScene" type="Button" parent="."]
|
2022-03-26 11:00:50 +01:00
|
|
|
offset_left = 64.0
|
|
|
|
offset_top = 128.0
|
2023-01-05 16:50:17 +01:00
|
|
|
offset_right = 277.0
|
|
|
|
offset_bottom = 182.0
|
2017-06-30 08:39:26 +02:00
|
|
|
size_flags_horizontal = 2
|
|
|
|
size_flags_vertical = 2
|
2023-01-05 16:50:17 +01:00
|
|
|
theme_override_colors/font_color = Color(0.639216, 1, 0.639216, 1)
|
|
|
|
theme_override_font_sizes/font_size = 24
|
2017-06-30 08:39:26 +02:00
|
|
|
text = "Go to Scene B"
|
2020-12-09 01:36:00 +01:00
|
|
|
|
2021-03-03 06:06:27 +01:00
|
|
|
[connection signal="pressed" from="GoToScene" to="." method="_on_goto_scene_pressed"]
|