How do I create a Grid array in the inspector which lets me add data like in this image?

This image shows a grid that shows individual elements in an array. What data type can I use to expose elements like this?

this helped me, thanks!

2 Answers

2

By default there is no type, that can be serialized by unity in the way you want.

You have to create this yourself by creating a custom editor (PropertyDrawer is most likely what you want).

Thank you for your time:)

there are no datatype that aare displayed like that, you will have to create your own inspector editor scripts some examples

https://stackoverflow.com/questions/49353971/how-to-create-multidimensional-array-in-unity-inspector

Thank you for taking the time to help out :)