Table of Contents

Class LineSelectorInputFieldAnimator

Namespace
Fallencake.UI
Assembly
Fallencake.UI.dll

Animator that scales a selector line and adjusts placeholder pivot/scale to indicate focus.

public class LineSelectorInputFieldAnimator : InputFieldAnimator, IInputFieldAnimator
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
LineSelectorInputFieldAnimator
Implements
Inherited Members

Methods

Init()

Implement component discovery and default-state caching.

protected override void Init()

InstantUpdate(bool)

Updates visuals immediately for selected/deselected state.

protected override void InstantUpdate(bool isSelected)

Parameters

isSelected bool

Whether to render selected state.

PlayTweenAnimation(bool, float, AnimationCurve)

Plays a tweened animation for selected/deselected state.

protected override IEnumerator PlayTweenAnimation(bool isSelected, float duration, AnimationCurve ease)

Parameters

isSelected bool

Target selection state.

duration float

Tween duration (seconds).

ease AnimationCurve

Easing curve.

Returns

IEnumerator