Select your preferred scripting language. All code snippets will be displayed in this language.
Namespace: UnityEngine
Simple class that contains a pointer to a tree prototype.
This class is used by the TerrainData gameObject.
bendFactor | Bend factor of the tree prototype. |
prefab | Retrieves the actual GameObect used by the tree. |