LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

TreePrototype

class in UnityEngine

Description

Simple class that contains a pointer to a tree prototype.

This class is used by the TerrainData gameObject.

Properties

bendFactorBend factor of the tree prototype.
prefabRetrieves the actual GameObject used by the tree.