// Use this for initialization IEnumerator Start() { actMsg.text = YaLocalization.GetActMsg(actIndex); if (LevelControl.Instance != null) { yield return(new WaitForSeconds(5f)); LevelControl.Instance.LoadNextLevel(); } }
void Update() { actMsg.text = YaLocalization.GetActMsg(actIndex); }