SetLocaleEnabled(IAssetProvider, Locale, bool)
Adds or removes a locale's tables across the provider's collections when the locale is toggled.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Localization.Editor
- Assembly: UnityEditor
public void SetLocaleEnabled(IAssetProvider provider, Locale locale, bool enabled)
Parameters
The provider instance from the settings chain.
The locale being toggled.
Whether the locale is now enabled.