Another way to keep score

Hi everyone,

I came up with another way of keeping the score in the game. What I did was to create a static int for the currentScore variable, so the value doesn’t change when you go to other level. If you do it this way you don’t even have to change the prefab. For me it works fine but I would like to know if this method is correct or not.

Thank you and happy new year :slight_smile:

1 Like

Happy new year! :slight_smile:

And thanks for sharing your solution!

Privacy & Terms