Editting a custom javascript class in the inspector

Hey guys! Is there any way to edit a custom class like

var animals : Animals[];
class Animals {
    var dog : Transform;
    var neighbour : Transform;
    var otherAnimal : Animals;

because everything except the otherAnimal var works fine. I can edit the array trough the inspector, edit all of the elements separately but the otherAnimal variable is not visible.

– David

That’s because it’s infinitely recursive. Are you sure you want a class where one of the members refers to the class?