Ejemplo n.º 1
0
        private void Translate()
        {
            if (text == null)
            {
                text = GetText();
                if (text == null)
                {
                    Debug.LogError($"IText interface is missing on {gameObject.GetFullName()}");
                    return;
                }
            }
            ILocalizationManager localization = App.Core.GetModule <ILocalizationManager>();

            text.Text = localization.GetText(key);
        }