Inspector Nested Scriptable Objects

Hi,

Since we are going to use a lot of scriptable objects (events, state machine, etc…) I was thinking we should probably add a custom inspector / property drawer to view & edit scriptable objects within an inspector they are referenced in. Something like this:

I was writing my own implementation but then thought people must have implemented that before.

So here are some solutions I found:

What do you think should we use one of those solutions, make our own, or do something else completely different?

EDIT: One of the main hurdle is overflow exceptions when there is a loop of objects referencing each other. We could fix that by limiting the number of nested inspectors to 1, 2 or 3 (I doubt more would be useful)

1 Like

Peek solved this problem very elegantly with this little popup:
6496285--730921--upload_2020-11-6_15-45-29.png

We can make similar thing to be by default and also have [Inline] attribute for some special cases :slight_smile: