Version: 2019.1
public bool OnTerrainLayerGUI (TerrainLayer terrainLayer, Terrain terrain);

Parameters

terrainLayerThe TerrainLayer object.
terrainThe Terrain object on which the TerrainLayer object, specified by the terrainLayer parameter, is selected.

Returns

bool Return false to have Unity draw the default TerrainLayer inspector. Otherwise draw the custom GUI and return true.

Description

Draws the custom GUI for the terrain layer.