No Description
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.

Main.gd 457B

1234567891011121314151617
  1. extends Node
  2. # Called when the node enters the scene tree for the first time.
  3. func _ready():
  4. var new_dialog = Dialogic.start('start')
  5. add_child(new_dialog)
  6. new_dialog.connect('dialogic_signal', self, "_on_Dialogic_signal_received")
  7. new_dialog.connect('event_end', self, "_on_Dialogic_event_end")
  8. func _on_Dialogic_signal_received(value: String):
  9. print('received ' + value)
  10. func _on_Dialogic_event_end(value: String):
  11. print('event_end ' + value)