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 variant support is unavailable in the current integration. Null assignments are converted to an empty array. Terrain population ignores these entries and spawns only prefab.