- Home /
The parallel function to Selection.activeObject in the Inspector?
Hi,
I'm trying to create an extension to the editor that allows copy/paste of fields in the inspector (like Vector3's etc).
The main problem is accessing the selection. I would like to see which field and object is being edited currently. Selection.activeObject and the likes returns GameObjects that are selected in the hierarchy. However, I would like to know which field inside my MonoBehavior is being edited.
Is there any scenario where I can get access to this information? (I don't mind implementing a CustomEditor or something similar)
Your answer
Follow this Question
Related Questions
How can "bounds" for script variables be defined for use in the Inspector? 2 Answers
How do I implement Draggable Properties with custom Labels in Editor or PropertyDrawer? 1 Answer
Hide public field on base class but show it on derived class 1 Answer
Edit child in parent list [Custom Inspector] 1 Answer
Custom Transform Editor in Scene Editor 2 Answers