2021-03-15 16:22:11 +01:00
|
|
|
extends Node
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
|
|
func _ready():
|
|
|
|
var new_dialog = Dialogic.start('timeline1')
|
|
|
|
add_child(new_dialog)
|
2021-03-22 17:17:08 +01:00
|
|
|
new_dialog.connect('dialogic_signal', self, "_on_Dialogic_signal_received")
|
2021-03-15 16:22:11 +01:00
|
|
|
|
|
|
|
|
2021-03-22 17:17:08 +01:00
|
|
|
func _on_Dialogic_signal_received(value: String):
|
|
|
|
print('received ' + value)
|