Property Prefab
Prefab
The tree prefab, should contain all neccessary component such as Mesh Filter, Mesh Renderer, Capsule Collider. LODGroup component is not supported, instead it will take the first and second mesh renderer for its LOD0 and LOD1 You have to call the GTreePrototypeGroup.NofifyChanged() to refresh the renderer.
public GameObject Prefab { get; set; }
Property Value
- GameObject