neon-age / Keyframes

Simple tweening for any data, akin to AnimationCurve & Gradient

Repository from Github https://github.comneon-age/KeyframesRepository from Github https://github.comneon-age/Keyframes

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

About

Simple tweening for any data, akin to AnimationCurve & Gradient


Languages

Language:C# 100.0%