scene_b.tscn 751 B

12345678910111213141516171819202122232425262728293031
  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://scene_b.gd" type="Script" id=1]
  3. [node name="SceneB" type="Panel"]
  4. anchor_right = 1.0
  5. anchor_bottom = 1.0
  6. size_flags_horizontal = 2
  7. size_flags_vertical = 2
  8. script = ExtResource( 1 )
  9. __meta__ = {
  10. "_edit_use_anchors_": false
  11. }
  12. [node name="Label" type="Label" parent="."]
  13. margin_left = 64.0
  14. margin_top = 48.0
  15. margin_right = 164.0
  16. margin_bottom = 62.0
  17. size_flags_vertical = 0
  18. text = "This is scene B."
  19. [node name="GoToSceneA" type="Button" parent="."]
  20. margin_left = 64.0
  21. margin_top = 128.0
  22. margin_right = 192.0
  23. margin_bottom = 160.0
  24. size_flags_horizontal = 2
  25. size_flags_vertical = 2
  26. text = "Go to Scene A"
  27. [connection signal="pressed" from="GoToSceneA" to="." method="_on_goto_scene_pressed"]