Imagine a ladder with players up and down it. The better go towards the top, and the worst are at the bottom. These are constantly switching up and down, so when an event is triggered, I can grab the lowest on the ladder move them to spectator (perma death).
My problem is how can I write code in a way that will allow me to move them up and down. In Update() should I just check where they are on the leaderboards and reassign numbers, shifting everyone down. What is a good way to do this?
↧