unity Dotween 예제 모음
unity Dotween 예제 모음
기본적으로 Plugin이 있어야 함.http://dotween.demigiant.com/download.php DOTween - Downloadsdotw...
blog.naver.com
사용하는 네임 스페이스 : using DG.Tweening;
transform.DOMoveX(100, 1);
transform.DORestart();
DOTween.Play();
transform.DOMove(new Vector3(2,2,2), 2)
.SetOptions(true)
.SetEase(Ease.OutQuint)
.SetLoops(4)
.OnComplete(myFunction);
더욱 자세한것은
http://dotween.demigiant.com/documentation.php
DOTween - Documentation
Nomenclature Tweener A tween that takes control of a value and animates it. Sequence A special tween that, instead of taking control of a value, takes control of other tweens and animates them as a group. Tween A generic word that indicates both a Tweener
dotween.demigiant.com
이 내용 중에서 ..
DOTween DOMOVE 함수 사용후 콜백 함수를 넣는것..
transform.DOMove(Endposition, 3).OnComplete(()=> {
// 실행시킬 내용
});
'DEV > Unity' 카테고리의 다른 글
[solved] UnityWebRequest Get noneArray Type error (0) | 2020.12.19 |
---|---|
NullReferenceException: Object reference not set to an instance of an objectUnityEditor.Graphs.Edge.WakeUp () (0) | 2020.05.17 |
유니티 터치 관련 (0) | 2017.08.08 |
데이터 관리 (0) | 2017.05.20 |
유니티 데이터 로드 (0) | 2017.05.20 |