LocalizationEditorSettings
Provides editor access to the active localization settings for the project.
Read time 1 minuteLast updated 8 days 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 the project's ResourceTableCollection assets and their contents changing.
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 project's table collections change. |
| LocalesChanged | Occurs when the set of available locales in the project changes. |