I'm making a classic card game in Unity. I created the first deck, and when I click on the top card, it is discarded and moved to a second card stack. When the first card stack is empty, then it is refilled, when it is clicked. Furthermore, I should to be allowed to drag and drop the cards in to the second deck.
My problem is that I can't drag and drop a card from the second deck until the first deck was refilled a first time and I don't understand why.
Why am I having this weird behaviour?