Beispiel #1
0
        private void InitializeLanguageData()
        {
            string data = Resources.Load <TextAsset>(_languageJSONAssetPath).ToString();

            _languageData = JsonConvert.DeserializeObject <StringLanguageDict>(data);

            SetLanguage(_languageData.Keys.ToList()[0]);
        }
Beispiel #2
0
 protected override void InitializeSingleton()
 {
     _languageData = new StringLanguageDict();
     ConfigurationApplicator.Instance.ApplyConfiguration(this.GetType(), this.gameObject, 0);
     InitializeLanguageData();
 }