Page 1 of 1

Text table fields

Posted: Mon Feb 19, 2024 4:22 am
by SealDev
I have a bunch of UI fields with the added "UI Localization" component, with no changes to it (using default fields)

Is there a quick way I can import all fields in the project in my Text Table?

Or do I manually have to copy each "text" and paste it into a "+" new field in the Text Table window?

Re: Text table fields

Posted: Mon Feb 19, 2024 6:32 am
by SealDev
Just saw this in the changelog notes:
"Improved: Text Table Editor now has gear menu > Import > From Localize UI menu feature."

Also in Version 2.2.31:
Added: Localized Fonts.

What scripts could I update without updating the whole package, to get localized fonts functionality?

Re: Text table fields

Posted: Mon Feb 19, 2024 8:59 am
by Tony Li
Hi,

Try importing these files:

Plugins/Pixel Crushers/Common/Scripts/Editor/Text/TextTableEditor.cs
Plugins/Pixel Crushers/Common/Scripts/Editor/Text/TextTableEditorWindow.cs
Plugins/Pixel Crushers/Common/Scripts/Text/TextTable.cs
Plugins/Pixel Crushers/Common/Scripts/UI/LocalizeUI.cs
Plugins/Pixel Crushers/Common/Scripts/UI/SetLocalizedFont.cs
Plugins/Pixel Crushers/Common/Scripts/UI/UILocalizationManager.cs

Or just the entire Plugins/Pixel Crushers/Common/Scripts folder.

In either case, back up your project first, just to be safe.