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.
|
- extends Node
-
- export var character_data : Resource
-
- func _ready():
- var inst = character_data.scene.instance()
- inst.name = character_data.name
- if character_data.yarn != null:
- var yarn_runner := TalkInteraction.new()
- yarn_runner.name = character_data.yarn.resource_name
- yarn_runner.yarnScript = character_data.yarn
- inst.add_child(yarn_runner)
- add_child(inst)
|