XUnity.AutoTranslator icon indicating copy to clipboard operation
XUnity.AutoTranslator copied to clipboard

Changing line spacing

Open NoctisLeonhart opened this issue 1 year ago • 0 comments

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. scr1 scr2

NoctisLeonhart avatar Sep 07 '24 11:09 NoctisLeonhart