I have created a custom inspector for a component. In the inspector there is a button which says “Select Target”. Upon clicking the button, I want my next selection of a GameObject with a Node component to be ignored, instead passing back the clicked object to be stored in a variable.
Worth noting, all nodes are displayed by gizmos.
Anyone done this before?