Files
godot-demo-projects/loading/autoload/scene_b.tscn
2023-01-05 16:50:17 +01:00

35 lines
903 B
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://cmu1caqo7k7wy"]
[ext_resource type="Script" path="res://scene_b.gd" id="1"]
[node name="SceneB" type="Panel"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 2
size_flags_vertical = 2
script = ExtResource("1")
[node name="Label" type="Label" parent="."]
offset_left = 64.0
offset_top = 48.0
offset_right = 164.0
offset_bottom = 62.0
size_flags_vertical = 0
text = "This is scene B."
[node name="GoToSceneA" type="Button" parent="."]
offset_left = 64.0
offset_top = 128.0
offset_right = 277.0
offset_bottom = 182.0
size_flags_horizontal = 2
size_flags_vertical = 2
theme_override_colors/font_color = Color(0.458824, 0.776471, 1, 1)
theme_override_font_sizes/font_size = 24
text = "Go to Scene A"
[connection signal="pressed" from="GoToSceneA" to="." method="_on_goto_scene_pressed"]