I’m using GUIUtility.hotControl in an OnSceneGUI() to detect mouse drags. I’m setting GUIUtility.hotControl to 0 when the mousebutton is lifted but the object that has been selected isn’t being deselected.
How do I deselect the object in question after I’ve modified GUI.hotControl?