Esempio n. 1
0
    public static IEnumerator LoadSequence()
    {
        if (Exists && instance.IsInitialized())
        {
            yield break;
        }

        EnlearnInstance.CreateSingleton();
        yield return(null);

        EnlearnInstance.instance.CreateClient();
        yield return(CoroutineUtil.WaitForCondition(EnlearnInstance.instance.IsInitialized, 0.2f));

        Logger.Log("Finished loading enlearn.");
    }