void Awake() { if (instance == null) { instance = this; } else { Destroy(gameObject); } List <Card> toInstantiate = Shuffle(CardLoader.LoadCards(path, GameConfig.deckNum)); cards = new List <CardDisplay>(); cardsToUse = new List <CardDisplay>(); foreach (Card card in toInstantiate) { CardDisplay c = Instantiate(cardPrefab).GetComponent <CardDisplay>(); c.LoadCard(card); c.ColliderActive(false); cards.Add(c); } PosisionateCards(); }