OnTerrainLayerGUI(TerrainLayer, Terrain)
Draws the custom GUI for the terrain layer.
Read time 1 minuteLast updated 9 days ago
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. |