Hello To All!
Is there a way to detected Changes in Hierarchy much like the EditorWindow.OnSelectionChange () but without having the editor window open?
I am writing an Editor tool that needs to detect Changes in the current scene exactly like the EditorWindow.OnSelectionChange (). Upon selection i display onScreen information about current selection and provide some manipulation options outside the tool panel.
Once script initiated the window itself does not provide any “Visual” functionality anymore. But its necessary for dispatching relative events like Update & OnSelectionChange.
It would be Useful then if i could still detect this events Without the editor window being opened. That way i can ensure that the tool still functions properly even if the designer has closed the window or has just maximised the Scene View.
i have manage to find a way to detect Update events with :
EditorApplication.update += Update;
But i cant find a way to detect selection changes!
Thanks In Advance!