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