// Start is called before the first frame update
    void Start()
    {
        cardController = FindObjectOfType <CardController>();
        cardList       = FindObjectOfType <CardList>();
        tableDeck      = FindObjectOfType <TableDeckController>();
        deckController = FindObjectOfType <DeckController>();

        Parent = GameObject.FindGameObjectWithTag("CardsParrent");
    }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     cardList            = FindObjectOfType <CardList>();
     TableDeckController = FindObjectOfType <TableDeckController>();
 }