Property prefabVariants
prefabVariants
Gets or sets additional prefab variants for mesh-based details.
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. Each non-null prefab produces an additional detail prototype alongside prefab.