Table of Contents

Class JampingSpinner

Namespace
Fallencake.UI
Assembly
Fallencake.UI.dll

Stylized jumping spinner that combines orbital movement with squash-and-stretch and shadow tweens.

public class JampingSpinner : UIBehaviour, ISpinner
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
UIBehaviour
JampingSpinner
Implements

Methods

Initialize()

Initializes spinner geometry, assigns sprites/colors, and sets up all tweens.

public void Initialize()

OnRectTransformDimensionsChange()

This callback is called when the dimensions of an associated RectTransform change. It is always called before Awake, OnEnable, or Start. The call is also made to all child RectTransforms, regardless of whether their dimensions change (which depends on how they are anchored).

protected override void OnRectTransformDimensionsChange()

Spin()

Starts or continues the spinning animation.

public void Spin()

Start()

protected override void Start()

Stop()

Stops the spinning animation.

public void Stop()