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

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

        isLoaded   = false;
        isLoadFull = true;
        isLoaded   = true;
        yield return(new WaitUntil(() => isLoaded));

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