CurveElevation
A class in Root.Township, the global namespace.
Drives an "Elevation" animator state from a progress value, so an object rises or lowers with a curve.
- Listed in Global namespace: C to D
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
CurveElevation() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
Methods
| Member | What it is |
|---|---|
void UpdateStep(float progress) | Cross-fades the "Elevation" animation to the given progress. At 0.01 or below it resets and turns the animator off. |
Used in
Members of other types that take, return or hold a CurveElevation: