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.
17 lines
432 B
17 lines
432 B
@tool
|
|
extends DialogicPortrait
|
|
|
|
## Default portrait scene.
|
|
## The parent class has a character and portrait variable.
|
|
|
|
@export_group('Main')
|
|
@export_file var image : String = ""
|
|
|
|
|
|
## Load anything related to the given character and portrait
|
|
func _update_portrait(passed_character:DialogicCharacter, passed_portrait:String) -> void:
|
|
apply_character_and_portrait(passed_character, passed_portrait)
|
|
|
|
apply_texture($Portrait, image)
|
|
|