Table of Contents

Class TweenAnimator

Namespace
Fallencake.UI
Assembly
Fallencake.UI.dll

Base class for simple tween animators that orchestrate a list of tweens.

public abstract class TweenAnimator : TweenAnimatorBase, ITweenAnimator
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
TweenAnimator
Implements
Derived
Inherited Members

Properties

Tweens

Tweens to be played by this animator.

public List<ITween> Tweens { get; set; }

Property Value

List<ITween>

Methods

Play(Action)

Plays all configured tweens. Implementations decide direction and completion behavior.

public abstract void Play(Action onComplete = null)

Parameters

onComplete Action

Callback invoked after all tweens complete.

Stop()

Stops playback and optionally resets tweens depending on implementation.

public abstract void Stop()