13 lines
384 B
GDScript
13 lines
384 B
GDScript
@tool
|
|
extends DialogicCharacterEditorMainTab
|
|
|
|
## Character editor tab that allows setting a custom style fot the character.
|
|
|
|
|
|
func _load_character(character:DialogicCharacter) -> void:
|
|
%StyleName.text = character.custom_info.get('style', '')
|
|
|
|
|
|
func _save_changes(character:DialogicCharacter) -> DialogicCharacter:
|
|
character.custom_info['style'] = %StyleName.text
|
|
return character
|