Files
godot-demo-projects/loading/autoload/scene_b.tscn

37 lines
961 B
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://dqume2blug8ck"]
[ext_resource type="Script" uid="uid://bv1xtp2kps6ng" 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="."]
layout_mode = 0
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="."]
layout_mode = 0
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"]