Struct SplineInstantiate.InstantiableItem
Describe the item prefab to instantiate and associate it with a probability
Namespace: Global Namespace
Syntax
public struct InstantiableItem
Fields
prefab
The prefab to instantiate.
Declaration
public GameObject prefab
Field Value
Type | Description |
---|---|
GameObject |
probability
Probability for this prefab.
Declaration
public float probability
Field Value
Type | Description |
---|---|
Single |