How to set a List to 0
In this game programming post, I will show you how to set a list to 0.
In a card game, I have a list where I keep the cards of the round.
public List <GameObject> andPlayer;
But at the end of the round I had to clear this list.
Did you like this content? Let's talk...
I'm a game developer, I use unity. If you want to develop something, tell me!