Last active
October 20, 2016 18:16
-
-
Save baobao/d15e0f488af2043d84f4e70c0a9781a7 to your computer and use it in GitHub Desktop.
DOTweenカスタムイージング
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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