I have a card sprite and a symbol sprite in a container and pinned together. And I have several instances of these card/symbol pairings on the layout. When I click one, it's set to rotate.
The trouble is, I can't get the cards and symbols paired up. When I click one card, the symbol on a different card rotates. But when I swap them out so that the symbol that rotated is now over that card and try again, yet another symbol rotates instead. I've tried several times, but how it pairs them together in the containers seems to keep moving around.
I know I could arrange the sprites in code at startup, but I find that hard to work with. I prefer the visual approach of using the layout.
How do I determine which instances in a layout are going to get assigned to the same container?
Thanks!