ScaleLerp
A class in Root.Township, the global namespace.
Sets a uniform local scale between two values from a 0 to 1 progress value. Driven by events.
- Listed in Global namespace: S
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
ScaleLerp() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
void SetScale(float progress) | Sets the local scale to the lerp of scale0 and scale1 by progress. |