文档

Unity Engine

Unity Engine

OnInspectorGUI(Terrain, IOnInspectorGUI)

Custom terrain tool OnInspectorGUI callback.
阅读时间1 分钟最后更新于 1 个月前

Definition

public virtual void OnInspectorGUI(Terrain terrain, IOnInspectorGUI editContext)

Parameters

terrain

Active Terrain object.

editContext

Interface used to communicate between Editor and Paint tools.

Remarks

Unity calls this method to run tool-specific inspector controls and behavior. Additional Resources: Editor.OnInspectorGUI().