public void Initialise() { var tempCard = _cardPrototype; _currentHand.Clear(); placeholderCardPanel = tempCard.GetComponent <CardPanel>(); placeholderCardPanel.GetComponent <Card>().CreateBlankCard(); placeholderCardPanel.SetToBlankCard(); //_currentHand = new Dictionary<int, CardPanel>(); _currentHand.Add(0, tempCard); _currentHand.Add(1, tempCard); _currentHand.Add(2, tempCard); _currentHand.Add(3, tempCard); }