Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


treePrototypes

The list of TreePrototype s available in the inspector.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public TreePrototype[] treePrototypes { get; set; }

Remarks

If you change any value here, you should call TerrainData.RefreshPrototypes so the changes take effect.