window | The window that is currently displaying this tool. |
Implement the functionality of your tool in this method.
This method is called for each window where your tool is active. If your tool is subscribed to SceneView.onSceneGUIDelegate, this method should replace that callback. The onSceneGUIDelegate method is called for each scene view that is currently open.