Skip to content

Instantly share code, notes, and snippets.

@InitialXKO
InitialXKO / Easing.cs
Last active May 18, 2020 — forked from Fonserbc/Easing.cs
Compact and simple easing functions for Unity
View Easing.cs
using System;
using UnityEngine;
/*
* Most functions taken from Tween.js - Licensed under the MIT license
* at https://github.com/sole/tween.js
* Quadratic.Bezier by @fonserbc - Licensed under WTFPL license
*/
public delegate float EasingFunction(float k, float c = 0);
public class TypeValue : System.Attribute