| Parameter | Description |
|---|---|
| locale | The locale to remove from the available set. |
Removes a locale from the available set.
Removes the exact locale instance from LocalizationSettings.AvailableLocales. A null locale is ignored.
<para>Removes a previously registered locale.</para>
using Unity.Localization;
namespace Unity.Localization.Samples { public class RemoveLocaleExample { public void Run() { Locale french = LocalizationSettings.Instance.GetLocale(new LocaleIdentifier("fr")); LocalizationSettings.Instance.RemoveLocale(french); } } }