scene_b.tscn 903 B

12345678910111213141516171819202122232425262728293031323334
  1. [gd_scene load_steps=2 format=3 uid="uid://cmu1caqo7k7wy"]
  2. [ext_resource type="Script" path="res://scene_b.gd" id="1"]
  3. [node name="SceneB" type="Panel"]
  4. anchors_preset = 15
  5. anchor_right = 1.0
  6. anchor_bottom = 1.0
  7. grow_horizontal = 2
  8. grow_vertical = 2
  9. size_flags_horizontal = 2
  10. size_flags_vertical = 2
  11. script = ExtResource("1")
  12. [node name="Label" type="Label" parent="."]
  13. offset_left = 64.0
  14. offset_top = 48.0
  15. offset_right = 164.0
  16. offset_bottom = 62.0
  17. size_flags_vertical = 0
  18. text = "This is scene B."
  19. [node name="GoToSceneA" type="Button" parent="."]
  20. offset_left = 64.0
  21. offset_top = 128.0
  22. offset_right = 277.0
  23. offset_bottom = 182.0
  24. size_flags_horizontal = 2
  25. size_flags_vertical = 2
  26. theme_override_colors/font_color = Color(0.458824, 0.776471, 1, 1)
  27. theme_override_font_sizes/font_size = 24
  28. text = "Go to Scene A"
  29. [connection signal="pressed" from="GoToSceneA" to="." method="_on_goto_scene_pressed"]