Class StartupLocaleSelector
Determines what locale should be used when the application starts or does not currently have an active locale.
Inheritance
System.Object
StartupLocaleSelector
Namespace: UnityEngine.Localization
Syntax
public abstract class StartupLocaleSelector : ScriptableObject
Methods
GetStartupLocale(LocalesProvider)
Determine which Locale should be used.
Declaration
public abstract Locale GetStartupLocale(LocalesProvider availableLocales)
Parameters
Type | Name | Description |
---|---|---|
LocalesProvider | availableLocales | The available locales to select from. |
Returns
Type | Description |
---|---|
Locale | The selected locale or null. |