I’m looking to test my skills by making a card game of sorts.
The cards are currently being stored in a parent object “Play Area”, they have come from “Player hand” and I am looking for a way to have a script enact the moves of all the different cards once the player ends their turn.
The way I can think of this is having the card hold an index number and a manager gather all of the index numbers into a list. The code will then go through the list enacting all of the cards’ moves. However, I can’t think of a way of accessing a changing number of cards without using a generic tag, however, this would access the cards that have not been played.
This is all being done as a user interface, on the canvas.