OnTerrainLayerGUI(TerrainLayer, Terrain)
Draws the custom GUI for the terrain layer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
bool OnTerrainLayerGUI(TerrainLayer terrainLayer, Terrain terrain)
Parameters
The TerrainLayer object.
The Terrain object on which the TerrainLayer object, specified by the terrainLayer parameter, is selected.
Returns
Type | Description |
|---|---|
| bool | Return false to have Unity draw the default TerrainLayer inspector. Otherwise draw the custom GUI and return true. |