display the place of players

hello fellow unity users, i need to pick your brains…!!!

i have four players, when one of their scores hits 0 i load the gameover screen!

i would like to display what place them come, as the player with the most points left is 1st and so on!

what would be the best way to implement this?

thanks :slight_smile:

Sorry, but your question is not suitable for Unity Answers. Please use the Unity Forum for discussions such as "How to ...". Unity Answers is here to help you solve any specific problems you have. * http://forum.unity3d.com/ * http://answers.unity3d.com/page/newuser.html * http://video.unity3d.com/video/7720450/tutorials-using-unity-answers

1 Answer

1

Put the values in an array (if they are not there already) and sort them:

http://docs.unity3d.com/Documentation/ScriptReference/Array.Sort.html

thanks robertbu for your answer, so i take it that the "a" "b" and "c" would be my int values. but how would i display the horizontally on my end screen