Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.