Beispiel #1
0
        public void SetText()
        {
            var text = GetComponent <Text>();

            if (text != null)
            {
                text.text = UCL_LocalizeManager.Get(m_Key);
            }
        }
Beispiel #2
0
        private void Start()
        {
            UCL_LocalizeManager.OnLanguageChanged += SetText;

            if (UCL_LocalizeManager.GetInstance() == null)
            {
                return;
            }
            SetText();
        }