Skip to content

Instantly share code, notes, and snippets.

View luke161's full-sized avatar

Luke luke161

View GitHub Profile
@Fonserbc
Fonserbc / Easing.cs
Last active August 27, 2024 23:41
Compact and simple easing functions for Unity
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);
public class Easing
using UnityEngine;
using System.Collections;
using System;
public class Math3d : MonoBehaviour {
private static Transform tempChild = null;
private static Transform tempParent = null;
public static void Init(){