findlocaleindex 1 - eisclimber/ExPresS-XR GitHub Wiki

LocaleChanger.FindLocaleIndex(Locale)

Method in LocaleChanger

Summary

Finds the index of the desired locale in the LocalizationSettings.

public static int FindLocaleIndex(Locale desiredLocale)

Parameters

Name Description
UnityEngine.Localization.Locale desiredLocale The locale.

Returns

The index of the locale or -1 if not found.

⚠️ **GitHub.com Fallback** ⚠️