Property prefabVariants
prefabVariants
Gets or sets legacy prefab variants retained for serialized compatibility.
public GameObject[] prefabVariants { get; set; }
Property Value
- GameObject[]
Remarks
The getter returns a copy of the stored array and returns an empty array when variants are unsupported by the current integration. Null assignments are converted to an empty array. Terrain population ignores these entries; only prefab produces a detail prototype.