Function AstarPathEditor.HideToolsWhileActive
void HideToolsWhileActive ()
Hide position/rotation/scale tools for the AstarPath object.
Instead, OnSceneGUI will draw position tools for each graph.
We cannot rely on the inspector's OnEnable/OnDisable events, because they are tied to the lifetime of the inspector, which does not necessarily follow which object is selected. In particular if there are multiple inspector windows, or an inspector window is locked.