Method GetPreloadTableFlag
GetPreloadTableFlag(LocalizationTable)
Returns true if the table is marked for preloading.
Declaration
public static bool GetPreloadTableFlag(LocalizationTable table)
Parameters
| Type | Name | Description |
|---|---|---|
| LocalizationTable | table | The table to query. |
Returns
| Type | Description |
|---|---|
| bool |
Examples
This example shows how to query if a table is marked as preload.
var collection = LocalizationEditorSettings.GetStringTableCollection("My Strings");
var englishTable = collection.GetTable("en");
Debug.Log($"Preload: {LocalizationEditorSettings.GetPreloadTableFlag(englishTable)}");