Пример #1
0
    // Use this for initialization
    IEnumerator Start()
    {
        actMsg.text = YaLocalization.GetActMsg(actIndex);

        if (LevelControl.Instance != null)
        {
            yield return(new WaitForSeconds(5f));

            LevelControl.Instance.LoadNextLevel();
        }
    }
Пример #2
0
 void Update()
 {
     actMsg.text = YaLocalization.GetActMsg(actIndex);
 }