Пример #1
0
    IEnumerator RemovingCards()
    {
        OnCoroutine = true;

        yield return(new WaitForSeconds(1));

        C1.DestroyMe();
        C2.DestroyMe();


        yield return(new WaitForSeconds(1));

        CleaningTexts();
        ChangePlayer();
        CheckAnimation = false;
        OnCoroutine    = false;
    }