Ejemplo n.º 1
0
    public IEnumerator initialization()
    {
        if (instance == null)
        {
            instance = this;
        }

        yield return(StartCoroutine(LoadSeq("jpg", "/UITextures/ScreenProtect/", ScreenProtectImages)));
    }
Ejemplo n.º 2
0
    IEnumerator initialization()
    {
        readJson = FindObjectOfType <ReadJson>();

        importAsserts = FindObjectOfType <ImportAsserts>();

        screenPortectGenerator = FindObjectOfType <ScreenPortectGenerator>();

        //ini
        // yield return StartCoroutine(readJson.initialization());

        yield return(StartCoroutine(importAsserts.initialization()));

        screenPortectGenerator.initialization();
    }