コード例 #1
0
            public void SetLocale()
            {
                var locale = L20n.Locales [(int)m_Slider.value];

                L20n.SetLocale(locale);
                m_Text.SetText();
            }
コード例 #2
0
 /// <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);
 }