Keyframes icon indicating copy to clipboard operation
Keyframes copied to clipboard

Simple tweening for any data, akin to AnimationCurve & Gradient

Keyframes

Simple tweening for any data, akin to AnimationCurve & Gradient

twitter
discord online

https://user-images.githubusercontent.com/29812914/168467641-3d0c5140-c0b7-41d6-885e-c0acfeec7ad2.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