Пример #1
0
    IEnumerator wait()
    {
        yield return(new WaitForSeconds(1));

        if (!controller.isPair(figureLabel.text))
        {
            figureLabel.gameObject.SetActive(false);
            controller.getLastObject().gameObject.SetActive(false);
        }
    }