I have written a custom inspector. Basically it has an empty gameObject slot, you drag&drop an object there and can then modify it with given buttons. It all works fine, but the drag&drop isn’t very work-flow-friendly. I know that clicking an object in the hierarchy or in the scene highlights it, but how could I enable my custom editor to pick that up as well and assign it to the empty gameObject I have in the script?
I code in c#.
A moment after posting the question, just had to formulate the question precisely…