OnInspectorGUI(Terrain, IOnInspectorGUI)
Custom terrain tool OnInspectorGUI callback.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
public virtual void OnInspectorGUI(Terrain terrain, IOnInspectorGUI editContext)
Parameters
Active Terrain object.
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().