18 lines
468 B
GDScript
18 lines
468 B
GDScript
extends Node
|
|
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
pass
|
|
# var new_dialog = Dialogic.start('_start')
|
|
# add_child(new_dialog)
|
|
# new_dialog.connect('dialogic_signal', self, "_on_Dialogic_signal_received")
|
|
# new_dialog.connect('event_end', self, "_on_Dialogic_event_end")
|
|
|
|
|
|
func _on_Dialogic_signal_received(value: String):
|
|
print('received ' + value)
|
|
|
|
func _on_Dialogic_event_end(value: String):
|
|
print('event_end ' + value)
|