Esempio n. 1
0
        public static void FindKey(UIText l)
        {
            string text = l.text;

            if (l.textKey.IsEmpty() && text.IsNotEmpty())
            {
                string key = Lexicon.FindAltKey(text);
                if (key.IsNotEmpty())
                {
                    l.textKey = key;
                    CompatibilityEditor.SetDirty(l.gameObject);
                }
                else
                {
                }
            }
        }
Esempio n. 2
0
        public static void FindKey(UIText l)
        {
            string text = l.text;

            if (l.textKey.IsEmpty() && !text.IsEmpty())
            {
                string key = Lexicon.FindAltKey(text);
                if (!key.IsEmpty())
                {
                    l.textKey = key;
                    EditorUtil.SetDirty(l.gameObject);
                }
                else
                {
                }
            }
        }