RendererScaleAnimator
A class in Root.Township, the global namespace.
Scale animator that also tells dock visuals whether the object is scaled up.
- Listed in Global namespace: Q to R
- Inherits or implements
ScaleAnimator
Constructors
| Member | What it is |
|---|---|
RendererScaleAnimator(MonoBehaviour behaviour, bool isInitiallyOn, Vector3 startScale, AnimationCurve on, AnimationCurve off, bool isDisallowingZero, DockVisual[] dockVisuals) | Creates a RendererScaleAnimator from behaviour, isInitiallyOn, startScale, on, off, isDisallowingZero and dockVisuals. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private DockVisual[] dockVisuals | Dock visuals told about the scale state. |
Methods
| Member | What it is |
|---|---|
protected override void SetScale(float scale) | Sets the scale, then marks each dock visual scaled up when the scale is above 0.01. |