EditorTool.OnToolGUI

Declaration

public void OnToolGUI(EditorWindow window);

Parameters

window The window that is displaying the custom editor tool.

Description

Use this method to implement a custom editor tool.

This method is called for each window where the custom editor tool is active. If the custom editor tool is subscribed to SceneView.onSceneGUIDelegate, use this method to replace the callback. The onSceneGUIDelegate method is called for every open SceneView.


Did you find this page useful? Please give it a rating: