Version: 2017.1

TerrainData.GetTreeInstance

Cambiar al Manual
public TreeInstance GetTreeInstance (int index);

Parámetros

index The index of the tree instance.

Descripción

Get the tree instance at the specified index. It is used as a faster version of treeInstances[index] as this function doesn't create the entire tree instances array.