Logo my studio is game, portfólio is developer game

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. 

andPlayer.Clear();

Make contact!

Did you like this content? Let's talk...

I'm a game developer, I use unity. If you want to develop something, tell me!