public void UpdateWasteCard(CardBehaviour card) { CardBehaviour wasteCardBehaviour = wasteCard.GetComponent <CardBehaviour>(); wasteCardBehaviour.card = card.card; wasteCardBehaviour.card.isFaceUp = true; if (!isWastePilePresent) { wasteCard.GetComponent <SpriteRenderer>().enabled = true; isWastePilePresent = true; } wasteCardBehaviour.SelectSprite(); //Not needed as cards that are in the waste pile have all already been started at some point //wasteCardBehaviour.PerformManualStart(); }