コード例 #1
0
    private IEnumerator ClearCoroutine(List <GameObject> currentCardGameObjects)
    {
        List <Text> allTexts = new List <Text>(currentAlignment.gameObject.GetComponentsInChildren <Text>());

        yield return(_transformHelper.ClearCoroutine(currentCardGameObjects, allTexts, trashDeck));

        if (currentAlignment != null)
        {
            Destroy(currentAlignment);
        }

        usedCards.Clear();
        currentCardGameObjects.Clear();
    }