Skip to content

Instantly share code, notes, and snippets.

@InitialXKO
InitialXKO / Easing.cs
Last active May 18, 2020 21:46 — forked from Fonserbc/Easing.cs
Compact and simple easing functions for Unity
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