Ejemplo n.º 1
0
        public void LoadLexicons()
        {
            Lexicon.Clear();
            Lexicon.AddLexicon(initial.bytes);

            foreach (var a in assets)
            {
                Cdn.cache.GetBytes(a.path, bytes =>
                {
                    if (bytes != null)
                    {
                        Lexicon.AddLexicon(bytes);
                    }
                });
            }
            Lexicon.SetLanguage(GetLanguage());
        }