Character display name in managed text "CharacterNames" not work
Hello.
I want to use "CharacterNames" managed text for display name In Default locale.
But It is not work.
My character ID is "yule"
"Display Name" Configuration input box is blank.
(Project Settings -> Naninovel -> Characters -> Manage Characters Resource -> (yule) -> Display Name)
"CharacterNames" Managed text is setted.
(/Asset/Resources/Naninovel/Text/CharacterNames)
Code: Select all
yule: ユール
But AuthorNameText in Dialogue Printer show me just character id yule
I want to show ユール
I try to modify naninovel source.
CharacterManager.cs
(As-is)
Code: Select all
if (!localizationManager.IsSourceLocaleSelected())
displayName = textManager.GetRecordValue(characterId, CharactersConfiguration.DisplayNamesCategory);
when delete "if" statements,
(To-be)
Code: Select all
displayName = textManager.GetRecordValue(characterId, CharactersConfiguration.DisplayNamesCategory);
It works !
But I Understand, Modifying naninovel engine source is not safe way.
What other solution I can do ?