Asset UI

1

Tables

List of configurations for loading tables. You can create several configurations depending on the platform, or use only one.

2

Platform

You can select one or more platforms from the list (screenshot on the left), and then your text components will use the table loading config according to the platform on which your application is running.

If "Everything" is selected, this configuration will be used on all platforms. If "Nothing" is selected, this configuration will not be used at all.

3

Text Asset

If you serialize your CSV file in "Text Asset" field, the asset will use it to load localizations.

4

Resource Path

If you want your CSV file to be loaded from Resources folder, specify the file path in the serialized string array without the extension. Below are screenshots for the case when the "localization.csv" file is located at the root of Resources, and when it is located in a subfolder.

5

Streaming Assets Path

The same as point 4, but for the Application.streamingAssetsPath. In this case, you need to specify the file extension. See the screenshots below.

6

Persistent Data Path

The same as point 4, but for the Application.persistentDataPath. In this case, you need to specify the file extension. See the screenshots below.

7

Google Sheets

Here you can set up the import of your spreadsheet from Google Sheets. Open your spreadsheet in the browser, navigate to the tab in the document where your table is located. Then, copy the data from the URL in the browser's address bar according to the screenshot below.

Note: if you switch to another tab of your document, such as "Tab 2", the "Sheet ID" (gid=numerical value) in the address bar will change, as each individual "Sheet ID" is the identifier of your sheet. Copy the "Sheet ID" only after you have navigated to the desired tab.

The "Spreadsheet ID", a string value, is the identifier of your document, and it will not change when you switch between tabs.

8

Fallback

Here you can configure which language will be used if the device's language is not found in the table. If the device's language code matches one of the codes in the 'Replaceable Codes' list, the 'Fallback Code' language will be used instead.

For example, if the device's language code is 'zh-CN' (Chinese), and 'zh-CN' is listed in the 'Replaceable Codes,' the 'en-US' language will be selected automatically.

9

Binding Settings

The information is in this section.

10

Language Code

You can use this Dropdown to manually change the language during UI testing in development. The value you set using this Dropdown is temporary, will be reset after the next application restart (or script recompilation), and should only be used for testing purposes. This feature works both in the Editor and Playmode.

11

Buttons at the bottom

Clicking these buttons will open the corresponding folder in your operating system.

12

Asset version

The label displays the current asset version, the next asset version if available, and the changelog when hovering over the version number. The version text turns red if bugs were found in that version, or blue if you haven’t updated the asset for a long time.

Last updated