기술 자료

Unity Engine

Unity Engine

OnTerrainLayerGUI(TerrainLayer, Terrain)

Draws the custom GUI for the terrain layer.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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

Type

Description

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