Hello,
I’m using Scriptable Objects to store data like names, descriptions and such and I’m using enums to identify them (so I can also access them via code and avoid using strings or abstract numbers). Everything’s fine but I have one enum List that is growing too big for a Dropdown list display and I would like to change the editor menu to open a browser menu instead of the dropdown List, just like when selecting a prefab but populated with my enum values. Is it possible ?
(My main issue is that I can’t figure out the name of the browser Class, so Google didn’t help me even though I’m guessing the solution is already out there somewhere)
It is. You would have to write a property drawer for the enum that draws a button instead. Said button can open up an editor window, with which you can use to select and assign a value to the backing serialized property.
But to be honest, the better solution is to not use enums and use a data driven approach, such as with scriptable objects. As all the functionality you want already exists in the Unity object field and the pop-up object picker.