Skip to content

Instantly share code, notes, and snippets.

@baobao
Last active October 23, 2016 01:04
Show Gist options
  • Save baobao/057030255ddf2bb209183c90c2eacfc3 to your computer and use it in GitHub Desktop.
Save baobao/057030255ddf2bb209183c90c2eacfc3 to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
using DG.Tweening;
public class UseCustomEasingSet : MonoBehaviour
{
[SerializeField]
private CustomEaisingSet _easingSet;
void Start () {
transform.DOLocalMoveX(2f, 3f).SetEase(_easingSet.easing1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment