Table of Contents

Class JampingSpinnerParameters

Namespace
Fallencake.UI
Assembly
Fallencake.UI.dll

Configuration bundle for a jumping spinner element, its shadow and supporting tweeners.

[Serializable]
public class JampingSpinnerParameters
Inheritance
object
JampingSpinnerParameters

Constructors

JampingSpinnerParameters()

public JampingSpinnerParameters()

Fields

apogeeTweener

Tweener driving apogee scaling/position.

public ModularAnimator apogeeTweener

Field Value

ModularAnimator

deformationFactor

Intensity of squash-and-stretch deformation.

[Range(0, 2)]
public float deformationFactor

Field Value

float

elementColor

Base color of the element.

public Color elementColor

Field Value

Color

elementImage

Image component for the element.

public Image elementImage

Field Value

Image

elementSize

Size of the element in pixels.

public Vector2 elementSize

Field Value

Vector2

elementSprite

Sprite for the jumping element.

[Header("OPTIONS")]
public Sprite elementSprite

Field Value

Sprite

elementTransform

Optional direct reference to element transform; falls back to elementImage.

public RectTransform elementTransform

Field Value

RectTransform

landingTweener

Tweener driving landing scaling/position.

public ModularAnimator landingTweener

Field Value

ModularAnimator

shadowDownTweener

Tweener for shadow collapse/fade down.

public ModularAnimator shadowDownTweener

Field Value

ModularAnimator

shadowFadedColor

Faded color of the shadow at apogee.

public Color shadowFadedColor

Field Value

Color

shadowFadedScale

Shadow scale when faded.

public Vector3 shadowFadedScale

Field Value

Vector3

shadowImage

Image component for the shadow.

public Image shadowImage

Field Value

Image

shadowNormalColor

Base color of the shadow.

public Color shadowNormalColor

Field Value

Color

shadowSprite

Sprite for the ground shadow.

public Sprite shadowSprite

Field Value

Sprite

shadowUpTweener

Tweener for shadow expansion/fade up.

public ModularAnimator shadowUpTweener

Field Value

ModularAnimator

spinner

Spinner that moves the element along the path.

[Header("COMPONENTS")]
public ModularSpinner spinner

Field Value

ModularSpinner