This version of Unity is unsupported.

TreeInstance.prototypeIndex

public int prototypeIndex;

Description

Index of this instance in the TerrainData.treePrototypes array.