Question by
Cyborg_X · Jan 06, 2019 at 10:00 AM ·
c#2d2d-platformerplayerprefsrespawn
Stop Point objects respawning when reloading level
Hi all, So for my game I have a system where to unlock the secret level you need to have collected all the points in the levels. At the moment the max number of points is 10. And what they could do is repeat level 1, 10 times and there they have all of the points.
Which was obviously not the idea. So I need help to come up with a way of once a point has been collected, and then deleted, it stays deleted - any ideas? I thought using PlayerPrefs would be a good idea but my code got very messy very quickly. Thanks so much!
Comment