I am creating a class that is called a ‘WeightedEntry’, which contains a float (random weight) and a System.Object. The goal is to create a list of objects (be that floats, vectors or other classes) that can be randomly selected using random weights. The class works beautifully, but is a pain to use, due to how the inspector works with arrays.
I’ve currently got what’s on the left, and would like something similar to what is on the right. I’ve tried using a custom editor, but they don’t apply to classes that are in arrays.