Text table fields

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
SealDev
Posts: 85
Joined: Thu Jun 24, 2021 5:45 am

Text table fields

Post 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?
Attachments
Text Table Window.png
Text Table Window.png (7.58 KiB) Viewed 164 times
SealDev
Posts: 85
Joined: Thu Jun 24, 2021 5:45 am

Re: Text table fields

Post 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?
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Text table fields

Post 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.
Post Reply