public void SetLocale() { var locale = L20n.Locales [(int)m_Slider.value]; L20n.SetLocale(locale); m_Text.SetText(); }
/// <summary> /// Called when the button gets clicked. /// Sets the L20n locale to the one specified in this component. /// </summary> public void OnSubmit() { L20n.SetLocale(m_LocaleIdentifier); }