[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make transitions look nicer with non-linear interpolation

License

Notifications You must be signed in to change notification settings

ryanslikesocool/EaseKit

Repository files navigation

EaseKit

40 non-linear easing methods to make transitions nicer in Unity.

Installation

Recommended Installation (Unity Package Manager)

  • "Add package from git URL..."
  • https://github.com/ryanslikesocool/EaseKit.git

Alternate Installation (Not recommended)

  • Get the latest release
  • Open with the desired Unity project
  • Import into the Plugins folder

Usage

Basic

using EaseKit;
// The entire EaseKit library is now available.

// TODO

Advanced

// TODO

With Other Packages

EaseKit has optional support for 3 other packages.

If Unity.Mathematics (1.2.4 or later) is included in the project, interpolators for types provided by the library are enabled.
Supported Unity.Mathematics interpolator types include:

  • All float vectors
  • double and all double vectors
  • quaternion

If ClockKit (2.0.0 or later) is included in the project, convenience functions to start timers with easings and interpolators are enabled.

If UnityFoundation (0.1.0-pre.1 or later) is included in the project, interpolators for types provided by the library are enabled.
Support UnityFoundation interpolator types include:

  • ClosedRange<Float>

Acknowledgements

Robert Penner's Easing Functions
acron0's C# port of Robert Penner's Easing Functions