Class CustomLocalesProvider
By default the locale provider uses the Addressables system to load all supported locales. This example shows how to create a locale provider that includes the locales built in and requires no loading from Addressables. To use this, create a Custom Locale Provider asset through the asset menu and drag the asset into the Localization settings Locales Provider field.
Inherited Members
Namespace: UnityEngine.Localization.Samples
Syntax
public class CustomLocalesProvider : LocalesProvider
Properties
Locales
Declaration
public override List<Locale> Locales { get; set; }
Property Value
Type | Description |
---|---|
List<Locale> |