Property prefab
prefab
Gets or sets the primary prefab spawned for this object template.
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, each generated instance uses this object as the spawn source.