Table of Contents

Property prefabVariants

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

prefabVariants

Gets or sets additional prefab variants that can produce extra tree prototypes.

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. Each non-null variant becomes an additional tree prototype alongside prefab.