Skip to content

Instantly share code, notes, and snippets.

@baobao
Last active October 20, 2016 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baobao/d15e0f488af2043d84f4e70c0a9781a7 to your computer and use it in GitHub Desktop.
Save baobao/d15e0f488af2043d84f4e70c0a9781a7 to your computer and use it in GitHub Desktop.
DOTweenカスタムイージング
using UnityEngine;
using System.Collections;
using DG.Tweening;
public class CustomEasing : MonoBehaviour {
[SerializeField]
private AnimationCurve _customEasing;
void Start ()
{
transform.DOLocalMoveX (2f, 3f).SetEase (_customEasing);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment