- Home /
Button to change list highlighted in editor
So I have a lot of nested lists and I'd like to have buttons that add a new item to the list depending on which list is highlighted.
Example:
The top "Operations" is highlighted, so if I click "Wait" it would add a wait command to that list.
The 2nd "Operations" is highlighted, so clicking "Wait" would add a wait command to that list instead.
Is this even possible? I can't find much on grabbing an object from a script via it's editor let alone one that could be nested in multiple objects.
Your answer
Follow this Question
Related Questions
ScriptableObjects lists (from the same script) open simultaneously in custom window 0 Answers
How to handle Serializable classes in a CustomEditor? 0 Answers
Are nested lists bad? 1 Answer
Custom Inspector: For every new element in one array create a brand new array? 0 Answers
How do I hide elements from a child class embedded in a List on the Inspector in the CustomEditor? 0 Answers