public void SetHand() { RemoveAllHandObjects(); Debug.Log(playerHand.Count); for (int i = 0; i < playerHand.Count; i++) { Debug.Log(i); CardDisplay cardDisplay = Instantiate(cardDisplayPrefab, handZone.transform).GetComponent <CardDisplay>(); cardDisplay.BindCard(playerHand[i]); handObject.Add(cardDisplay); } CheckCardHighlight(); }