You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DialogueTest.tscn 754 B

4 年之前
123456789101112131415161718192021222324252627
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://main/scripts/dialogue_test.gd" type="Script" id=1]
  3. [ext_resource path="res://yarn/scenes/YarnSpinner.tscn" type="PackedScene" id=2]
  4. [node name="DialogueTest" type="Control"]
  5. anchor_right = 1.0
  6. anchor_bottom = 1.0
  7. script = ExtResource( 1 )
  8. __meta__ = {
  9. "_edit_use_anchors_": false
  10. }
  11. [node name="YarnSpinner" parent="." instance=ExtResource( 2 )]
  12. yarn_file = "main/dialogues/test.yarn"
  13. [node name="StartButton" type="Button" parent="."]
  14. anchor_left = 0.45
  15. anchor_top = 0.45
  16. anchor_right = 0.55
  17. anchor_bottom = 0.55
  18. margin_left = -6.0
  19. margin_top = -10.0
  20. margin_right = 6.0
  21. margin_bottom = 10.0
  22. text = "Start !"
  23. [connection signal="pressed" from="StartButton" to="." method="_on_start_pressed"]