Documentation

Unity Engine

Download Unity

Unity Engine

LocalizationEditorSettings

Provides editor access to the active localization settings for the project.
Read time 1 minuteLast updated 5 hours ago

Definition

public static class LocalizationEditorSettings

Remarks

The active settings are stored as an EditorBuildSettings config object and included in player builds. Use LocalizationEditorSettings.ActiveSettings to read or assign them, and LocalizationEditorSettings.CollectionsChanged to react to the project's ResourceTableCollection assets and their contents changing.

Static Properties

Property

Description

ActiveSettingsGets or sets the active localization settings for the project.

Static Methods

Method

Description

AddTableAdds a table for a locale to a collection, or returns the collection's existing table for that locale.
CreateCollectionCreates a table collection with one table for each available locale.
CreateStringEntryAdds a string key to a collection across every one of its locale tables.
GetCollectionGets the table collection that a table reference points to.
GetCollectionsGets every table collection in the project.

Static Events

Member

Description

CollectionsChangedOccurs when the project's table collections change.
LocalesChangedOccurs when the set of available locales in the project changes.