Пример #1
0
        public async void SetText()
        {
            await Task.Delay(100);

            _text.text = Localization.GetString(key);
        }
Пример #2
0
 private void Start()
 {
     Localization.AddText(this);
     _text = this.gameObject.GetComponent <UnityEngine.UI.Text>();
     SetText();
 }