Esempio n. 1
0
    public IEnumerator IELoadLocation()
    {
        isLoaded = false;
        others.LoadOtherRandom();
        yield return(new WaitUntil(() => isLoaded));

        isLoaded = false;
        streets.LoadStreetRandom();
        yield return(new WaitUntil(() => isLoaded));

        isLoaded = false;
        LoadInfoTypeOfWorkST();
        yield return(new WaitUntil(() => isLoaded));

        if (indexTypeWork == 0)
        {
            lsWorking[lsWorking.Length - 1].anim.SetFloat("indexMaker", makerType);
        }
        txtNameForest.text = UIManager.Instance.lsNameForest[id];
    }