XUnity.AutoTranslator
XUnity.AutoTranslator copied to clipboard
Changing line spacing
Hello! When translating the game Digimon Survive, there is a problem with line spacing. The text overlaps each other. The commands UGUI_ChangeLineSpacingByPercentage(float percentage) and UGUI_ChangeLineSpacing(float lineSpacing) do not work. Am I doing it right? I created a file named resizer.txt and added the line:
/TutorialDisplayManager/TutorialUI/MsgWInRoot/MsgText=UGUI_ChangeLineSpacingByPercentage(1.5)
I also tried adding:
/TutorialDisplayManager/TutorialUI/MsgWInRoot/MsgText=UGUI_ChangeLineSpacing(-40)
I place the resizer.txt file in the path "\BepInEx\Translation\ru\Text". The text does not change.
If you change it manually, via the "Runtime Unity Editor", then everything works.