- Home /
Custom Construct Arrays in the Editor - can I control the name of the element?
The elements automatically show in the inspector as the first string variable in the construct.
This is useful in a way, but I also would very much like to also see the position of that element on the list, after having named it.
I.e., I'd like for it to show me something like [0]Twig [1]Log [2]Plank etc. Is there a way to do this?
helpppp.png
(15.8 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612114838im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Defining a public variable with 'where' 2 Answers
Why is my unity editor script not saving changes to the actual script? 0 Answers
Customize arrays and classes in inspector window 2 Answers
Public Scene Variables not appearing in the inspector 2 Answers
Is there a Function Callback for when a vairable is altered in the Inspector? 1 Answer