Answer by Jamora
As CHPedersen argues, having thise done automatically by Unity is a bad idea. Luckily Unity allows us to implement our own behavior to some extent. You need to create either a [custom inspector][1] for...
View ArticleAnswer by hudi
The same thing annoyed me very much and I found a simple solution. **1) Make a public list** public List Objects; **2) Make a class implementing IComparer** class Comparer : IComparer { int...
View ArticleAnswer by WoozyBytes
It would be easier to use a [Generic List][1] Instead of built in arrays and you can just call `_myList.Sort();` and it's sorted . Here's an example using UnityEngine ; using...
View ArticleAnswer by JoeStrout
FWIW, in case somebody else stumbles across this question as I did, here's the solution I have settled on for now. In the script containing an array property, add a bit of code to create a contextual...
View Article