Skip
A class in Root.Township, Alta.Bezier.
An ItemModifier that places a random prefab from its list at every Nth spot along the spline.
- Listed in Utilities and other Alta namespaces
- Inherits or implements
ItemModifier,IIgnoreForStaticFlatten,IDontSplit
Constructors
| Member | What it is |
|---|---|
Skip() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
override GameObject GetPrefab(List<SplineDecorator.Part> parts, int index) | On every skipIntervalth part returns a random item; otherwise null so the decorator places its usual prefab. |