scene_b.tscn 940 B

123456789101112131415161718192021222324252627282930313233343536
  1. [gd_scene load_steps=2 format=3 uid="uid://c71ureg6hk2u1"]
  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. layout_mode = 0
  14. offset_left = 64.0
  15. offset_top = 48.0
  16. offset_right = 164.0
  17. offset_bottom = 62.0
  18. size_flags_vertical = 0
  19. text = "This is scene B."
  20. [node name="GoToScene" type="Button" parent="."]
  21. layout_mode = 0
  22. offset_left = 64.0
  23. offset_top = 128.0
  24. offset_right = 277.0
  25. offset_bottom = 182.0
  26. size_flags_horizontal = 2
  27. size_flags_vertical = 2
  28. theme_override_colors/font_color = Color(0.905882, 0.627451, 0.984314, 1)
  29. theme_override_font_sizes/font_size = 24
  30. text = "Go to Scene A"
  31. [connection signal="pressed" from="GoToScene" to="." method="_on_goto_scene_pressed"]