Animaciones

REBOTES / EASE

Tipos de rebote http://easings.net/

SetEase(Ease.OutBounce)


One option

https://www.assetstore.unity3d.com/en/#!/content/27676

using DG.Tweening;

Transform t;

void Test() {
     Vector3 endPosition;
     float duration = .5f;
     t.DOMove(endPosition, duration).OnComplete(OnComplete);
}

void OnComplete() {
}

****************
transform.DOScale(0, memoryCardGame.durationMatch).SetEase(Ease.InBack);
****************
Anuncios