25개 이상의 토픽을 선택하실 수 없습니다.
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)
|