예제 #1
0
    public IEnumerator initialization()
    {
        if (instance == null)
        {
            instance = this;
        }

        yield return(StartCoroutine(LoadSeq("jpg", "/UITextures/ScreenProtect/", ScreenProtectImages)));
    }
예제 #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();
    }