scene_a.tscn 934 B

123456789101112131415161718192021222324252627282930313233343536
  1. [gd_scene load_steps=2 format=3 uid="uid://6xgdg1bmya7c"]
  2. [ext_resource type="Script" path="res://scene_a.gd" id="1"]
  3. [node name="SceneA" 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 = 104.0
  17. offset_bottom = 62.0
  18. size_flags_vertical = 0
  19. text = "This is scene A."
  20. [node name="GoToSceneB" 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.945098, 1, 0.556863, 1)
  29. theme_override_font_sizes/font_size = 24
  30. text = "Go to Scene B"
  31. [connection signal="pressed" from="GoToSceneB" to="." method="_on_goto_scene_pressed"]