예제 #1
0
    IEnumerator TimeoutCheck()
    {
        float pauseEndTime = Time.realtimeSinceStartup + timeout;

        while (Time.realtimeSinceStartup < pauseEndTime)
        {
            yield return(0);
        }
        if (LeanTest.testsFinished == false)
        {
            Debug.Log(LeanTest.FormatB("Tests timed out!"));
            LeanTest.Overview();
        }
    }