Version: 2019.2

TerrainLayerUtility.ShowTerrainLayersSelectionHelper

Switch to Manual
public static int ShowTerrainLayersSelectionHelper (Terrain terrain, int activeTerrainLayer);

Parameters

terrainTerrain tile.
activeTerrainLayerCurrently selected terrain layer index.

Returns

int Newly selected terrain layer index.

Description

Helper function to show the layer selection window for selecting terrain layers in inspector.