LocalizationEditorSettings
Provides editor access to the active localization settings for the project.
Read time 1 minuteLast updated 15 hours ago
Definition
- Type: Class
- Namespace: Unity.Localization.Editor
- Assembly: UnityEditor
public static class LocalizationEditorSettings
Remarks
The active settings are stored as an EditorBuildSettings config object and included in player builds. Use ActiveSettings to read or assign them, and LocalizationEditorSettings.CollectionsChanged to react to ResourceTableCollection assets being created, imported, or deleted.
Static Methods
Method | Description |
|---|---|
| AddTable | Adds a table for a locale to a collection, or returns the collection's existing table for that locale. |
| CreateStringEntry | Adds a string key to a collection across every one of its locale tables. |
Static Events
Member | Description |
|---|---|
| CollectionsChanged | Occurs when the set of table collections in the project changes. |
| LocalesChanged | Occurs when the set of available locales in the project changes. |