public void Awake() { mInstance = this; mXMLParaser = new XMLParser(); initLanguage(new XMLParser()); OnLanguageChanged.AddListener(() => { for (int i = 0; i < listaction.Count; i++) { var item = listaction[i]; if (item.text == null) { listaction.Remove(item); } else { item.action.Invoke(); } } }); //m_previousLanguage = Application.systemLanguage; m_previousLanguage = SystemCurrentLanguage.CurrentLanguage; }