scene_b.tscn 708 B

12345678910111213141516171819202122232425262728
  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. [node name="Label" type="Label" parent="."]
  10. margin_left = 64.0
  11. margin_top = 48.0
  12. margin_right = 164.0
  13. margin_bottom = 62.0
  14. size_flags_vertical = 0
  15. text = "This is scene B."
  16. [node name="GoToSceneA" type="Button" parent="."]
  17. margin_left = 64.0
  18. margin_top = 128.0
  19. margin_right = 192.0
  20. margin_bottom = 160.0
  21. size_flags_horizontal = 2
  22. size_flags_vertical = 2
  23. text = "Go to Scene A"
  24. [connection signal="pressed" from="GoToSceneA" to="." method="_on_goto_scene_pressed"]