Find out what object was selected

Hello All,

I have 6 cards showing at once. I am trying to find out the best way to know which one is picked to be used later. we can call the cards 1-6 so if someone selects card 2 all the other cards hide and card 2 is stored so later in the game it knows you selected card 2. I thought about creating script for each card but that seems like over kill. Is there a script i can give each card that is the same but checks to see what game object was selected?

or should i do it when a card is select a new level opens knowing that card was selected?

Give each card a script that reports that it was clicked to a single “manager” object. Then you can reference that manager object to find out what card was selected later.