|
@@ -2,14 +2,14 @@
|
|
|
|
|
|
[ext_resource path="res://scene_a.gd" type="Script" id=1]
|
|
|
|
|
|
-[node name="scene_a" type="Panel"]
|
|
|
+[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="."]
|
|
|
+[node name="Label" type="Label" parent="."]
|
|
|
margin_left = 64.0
|
|
|
margin_top = 48.0
|
|
|
margin_right = 104.0
|
|
@@ -17,7 +17,7 @@ margin_bottom = 62.0
|
|
|
size_flags_vertical = 0
|
|
|
text = "This is scene A."
|
|
|
|
|
|
-[node name="goto_scene" type="Button" parent="."]
|
|
|
+[node name="GoToSceneB" type="Button" parent="."]
|
|
|
margin_left = 64.0
|
|
|
margin_top = 128.0
|
|
|
margin_right = 192.0
|
|
@@ -25,5 +25,4 @@ margin_bottom = 160.0
|
|
|
size_flags_horizontal = 2
|
|
|
size_flags_vertical = 2
|
|
|
text = "Go to Scene B"
|
|
|
-
|
|
|
-[connection signal="pressed" from="goto_scene" to="." method="_on_goto_scene_pressed"]
|
|
|
+[connection signal="pressed" from="GoToSceneB" to="." method="_on_goto_scene_pressed"]
|