Class RippleEffect
- Namespace
- Fallencake.UI
- Assembly
- Fallencake.UI.dll
Expanding ripple click effect that scales an image and fades its color, destroying itself when complete.
public class RippleEffect : ClickEffect
- Inheritance
-
objectObjectComponentBehaviourMonoBehaviourRippleEffect
- Inherited Members
Fields
MaxScale
Maximum scale multiplier for the ripple before it disappears.
public float MaxScale
Field Value
- float
Speed
Animation speed multiplier for scale and color transitions.
public float Speed
Field Value
- float
StartColor
Starting color including alpha.
public Color StartColor
Field Value
- Color
TargetColor
Target color including alpha.
public Color TargetColor
Field Value
- Color
Methods
Init()
Finds and caches required components. Called from Start().
protected override void Init()
PlayEffectTween()
Implement animation step for the effect.
protected override void PlayEffectTween()