- Home /
How to get the current selection of a property on the inspector???
Hello,
I want get the currently selected property field that is showing on the inspector.
Ex Inspector: Name: [ bob ] Age: [ 3 ]
If i left click on the name property field, i want to print out "Left Clicked Name Field: Bob", and similarly to the age field.
It would be better if it actually return the current selection as "object" (NOTE: NOT UnityEngine.Object)
Thanks in Advance,
Comment
Answer by Davon_Allen_AofL · Jun 05, 2021 at 06:23 AM
necro would love to also get this exact same thing in unity 2018.4.3.f1
Your answer
![](https://koobas.hobune.stream/wayback/20220612122610im_/https://answers.unity.com/themes/thub/images/avi.jpg)