This version of Unity is unsupported.

Parameters

terrain The target terrain.
sourceTerrain The source terrain.
sourceDetail The index of the source detail.

Returns

int Returns the index of the copied detail prototype.

Description

Copies a detail prototype between two terrains.

Use this method when you need a copy of a detail prototype on a different terrain.