Ejemplo n.º 1
0
    private IEnumerator CheckMatch()
    {
        if (second.GetId() != first.GetId())
        {
            yield return(new WaitForSeconds(1));

            AssignMistakeText(++mistakes);
            first.Unreveal();
            second.Unreveal();
        }
        first  = null;
        second = null;
    }