Update
This commit is contained in:
7
demos/6. handling metadata/handling_metadata_dialogue.gd
Normal file
7
demos/6. handling metadata/handling_metadata_dialogue.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends DialogueEngine
|
||||
|
||||
func _setup() -> void:
|
||||
# Use DialogueEntry.set_metadata for data that must be available through DialogueEngine.dialogue_continued signal.
|
||||
# The metadata handling per DialogueEntry must be implemented by the user.
|
||||
add_text_entry("[i]We won! Let's goooo!![/i]").set_metadata("author", "Gary")
|
||||
add_text_entry("Press <Enter> or <Space> to exit.")
|
||||
Reference in New Issue
Block a user