- Home /
Question by
LordRyuuza · Aug 07, 2016 at 01:21 PM ·
c#listcustom editorindex
How to find the element index from a list in Unity Inspector
Hi, how are you doing? I've made a CustomEditor class that grabs a list (serializedObject.FindProperty("list")) and it's shown correctly in the inspector. I can see it highlights when it's selected also. But, is there a way to know the index of that selected item? I would need it to get it's value. Thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612090319im_/https://answers.unity.com/themes/thub/images/avi.jpg)