文档

Unity Engine

Unity Engine

OnToolGUI(EditorWindow)

Implements any common functionality for the set of manipulation tools available for this context.
阅读时间1 分钟最后更新于 2 天前

Definition

public virtual void OnToolGUI(EditorWindow window)

Parameters

The window that is displaying the active EditorTool.

Remarks

Unity calls this method for each window where the current editor tool is active.