Property prefab
prefab
Gets or sets the primary prefab used to create tree prototypes.
public GameObject prefab { get; set; }
Property Value
- GameObject
Remarks
This prefab is required for the template to be valid. When no variant is available or selected, generated tree instances use a prototype built from this prefab.