Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 880 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 880 Bytes

Keyframes

Simple tweening for any data, akin to AnimationCurve & Gradient

twitter
discord online

Keyframes.UI.Tweening.mp4

Usage

// See UITween.cs for example
public Keyframes<Vector2> sizeFrames;

sizeFrames.Evaluate(lerp, out var size1, out var size2, out var sizeTime);

if (size1 != default || size2 != default)
  rect.sizeDelta = Vector2.Lerp(size1, size2, sizeTime);

Open Labs Community

join discord