scene_b.tscn 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://scene_b.gd" type="Script" id=1]
  3. [node name="scene_b" type="Panel"]
  4. anchor_left = 0.0
  5. anchor_top = 0.0
  6. anchor_right = 1.0
  7. anchor_bottom = 1.0
  8. rect_pivot_offset = Vector2( 0, 0 )
  9. rect_clip_content = false
  10. mouse_filter = 0
  11. size_flags_horizontal = 2
  12. size_flags_vertical = 2
  13. script = ExtResource( 1 )
  14. [node name="label" type="Label" parent="."]
  15. anchor_left = 0.0
  16. anchor_top = 0.0
  17. anchor_right = 0.0
  18. anchor_bottom = 0.0
  19. margin_left = 64.0
  20. margin_top = 48.0
  21. margin_right = 164.0
  22. margin_bottom = 62.0
  23. rect_pivot_offset = Vector2( 0, 0 )
  24. rect_clip_content = false
  25. mouse_filter = 2
  26. size_flags_horizontal = 1
  27. size_flags_vertical = 0
  28. text = "This is scene B."
  29. percent_visible = 1.0
  30. lines_skipped = 0
  31. max_lines_visible = -1
  32. [node name="goto_scene" type="Button" parent="."]
  33. anchor_left = 0.0
  34. anchor_top = 0.0
  35. anchor_right = 0.0
  36. anchor_bottom = 0.0
  37. margin_left = 64.0
  38. margin_top = 128.0
  39. margin_right = 192.0
  40. margin_bottom = 160.0
  41. rect_pivot_offset = Vector2( 0, 0 )
  42. rect_clip_content = false
  43. mouse_filter = 0
  44. size_flags_horizontal = 2
  45. size_flags_vertical = 2
  46. toggle_mode = false
  47. enabled_focus_mode = 2
  48. shortcut = null
  49. group = null
  50. text = "Go to Scene A"
  51. flat = false
  52. [connection signal="pressed" from="goto_scene" to="." method="_on_goto_scene_pressed"]