- Home /
Custom Inspector: For every new element in one array create a brand new array?
So, I have created the functionality for adding a new array every time a user developer adds a new element to their inspector. However, I do not know how to do it dynamically. Right now I'm hardcoding the arrays and its a very tedious and not scalable way to approach this.
I tried using List and adding a new array in there but those arrays are not serializable so they cannot be added to the inspector from what I've seen. Is there a way to dynamically create new arrays, technically at runtime, and serialize them to show up in the inspector through a custom editor script?
Your answer
Follow this Question
Related Questions
Dictionary becomes null unexpectedly when using a custom inspector 2 Answers
Can the GameObjectInspector window be customized? 0 Answers
Access random GameObject from List on another script. 2 Answers
Custom editor window does not show prefab overrides 2 Answers
Bool field in CustomPropertyDrawer isn't clickable? 2 Answers