Beispiel #1
0
 protected override void OnEnable()
 {
     base.OnEnable();
     if (GameApp.Data != null)
     {
         LanguageDataModule data = GameApp.Data.GetDataModule <LanguageDataModule>(DataName.LanguageDataModule);
         m_language = data.GetCurrentLanguageType;
     }
     SetContent();
 }
Beispiel #2
0
 public void CheckLanguage()
 {
     m_data = GameApp.Data.GetDataModule <LanguageDataModule>(DataName.LanguageDataModule);
     m_data.CheckLanguage();
 }