Files
godot-demo-projects/loading/autoload/scene_a.tscn
Voylin 7d7c08ad54 Fixing Autoload(Singletons) Demo for Godot 4
Not really any fixing were required, some data changed between versions
when opening and testing everything. Did some changes to the project
settings (2d to canvas_items). Everything works fine without problems.

Change to Vulkan Mobile
2022-04-03 14:11:55 +09:00

30 lines
739 B
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://bh2ylkcsgejgy"]
[ext_resource type="Script" path="res://scene_a.gd" id="1"]
[node name="SceneA" type="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
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 = 104.0
offset_bottom = 62.0
size_flags_vertical = 0
text = "This is scene A."
[node name="GoToSceneB" type="Button" parent="."]
offset_left = 64.0
offset_top = 128.0
offset_right = 192.0
offset_bottom = 160.0
size_flags_horizontal = 2
size_flags_vertical = 2
text = "Go to Scene B"
[connection signal="pressed" from="GoToSceneB" to="." method="_on_goto_scene_pressed"]