pir-serious-game-ethics/Main.gd

14 lines
322 B
GDScript3
Raw Normal View History

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)
new_dialog.connect('dialogic_signal', self, "_on_Dialogic_signal_received")
func _on_Dialogic_signal_received(value: String):
print('received ' + value)