HEy,
anyone knows whether there's a way to sort a list of GameObjects alphabetically ? I'm somewhat slamming against a wall here. I looked at the code of the current sort action and it uses .Sort() which I think is for strings only. If you know another way to sort them I'm all ears
So far I've started to create a new action, but here's the said wall :S .
I want to use :
proxy.arrayList = proxy.arrayList.OrderBy( go => go.name ).ToArray();
but it returns some errors I really don't understand. The complete script and the errors are attached to this post.
I would really appreciate some help as I don't know heads from tails here
EDIT:
of course the second error seems clear, I mean , just remove the equation and leave the second part where it is, but how can it be changed by the function of the second part if it's read only?
[EDIT]
Ok, I found a way finally
Please redownload the attached action, if all is well, I'll put it in the ecosystem package.