Question to Lesson "Leaderboard Updating"

Hello,

I’d like to know why we have to create a new LeaderboardState for updating the leaderboardEnities in method “HandleCoinsChanged”, instead of simply changing the member in the list that we are already pointing at? To me, it feels unnecessarily unperformant without gaining any advantage or convenience here, but maybe I missed something…

Thanks a lot in advance, great course!
Ewald

Hi Morvister,

I apologise we did not get to this as it appears our tagging system did not autotag this question so it did not come up on our searches.
Possibly personal choice, Did you try your method to see if it works? If you did and it does please do let us know!

Marc

Privacy & Terms