OnSceneGUI(Terrain, IOnSceneGUI)
Custom terrain tool OnSceneGUI callback.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
public virtual void OnSceneGUI(Terrain terrain, IOnSceneGUI editContext)
Parameters
Active Terrain object.
Interface for communication between Editor and Paint tools.
Remarks
Unity calls this method to run tool-specific scene UI and behavior.