This version of Unity is unsupported.

TerrainData.terrainLayers

public TerrainLayer[] terrainLayers;

Description

Retrieves the terrain layers used by the current terrain.