Quantcast
Channel: Answers for "Ordering a list of GameObjects"
Browsing all 6 articles
Browse latest View live

Answer by Cherno

May I direct you to this question I asked myself some time ago, it has everything you need (albeit in UnityScript):...

View Article



Answer by BoredMormon

Essentially the error is telling you there is no natural way to sort a list of GameObjects. How do you tell if which GameObject comes first? You need to [provide a sort method][1] to GObj.Sort(). The...

View Article

Answer by Orami

I think you can write an inherited class from IComparer to tell the code how to sort your list. I believe this code works - haven't gotten to multiplayer testing yet so it might need some tweaking....

View Article

Answer by Cherno

May I direct you to this question I asked myself some time ago, it has everything you need (albeit in UnityScript):...

View Article

Answer by BoredMormon

Essentially the error is telling you there is no natural way to sort a list of GameObjects. How do you tell if which GameObject comes first? You need to [provide a sort method][1] to GObj.Sort(). The...

View Article


Answer by Orami

I think you can write an inherited class from IComparer to tell the code how to sort your list. I believe this code works - haven't gotten to multiplayer testing yet so it might need some tweaking....

View Article
Browsing all 6 articles
Browse latest View live




Latest Images