Core Easing Implementation for Unity.
public static EasingFunction Get(Ease type)
var easeOutCubic = Easing.Get(Ease.OutCubic);
var p = easeOutCubic(0.5f);
Add a package from OpenUPM registry to your project.
openupm add jp.setchi.easingcore
Add a reference to the repository in the Packages\manifest.json
file in your project directory:
{
"dependencies": {
"jp.setchi.easingcore": "https://github.com/setchi/EasingCore.git#upm"
}
}
Clone or download this repository into the Assets directory of your project.