ITerrainLayerCustomUI.OnTerrainLayerGUI

Declaration

public bool OnTerrainLayerGUI(TerrainLayer terrainLayer, Terrain terrain);

Parameters

terrainLayer The TerrainLayer object.
terrain The 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.


Did you find this page useful? Please give it a rating: