- Home /
I need to return true after completing a tween animation.How should i do it ?
This is not working .
public bool CustomerIN(float duration)
{
this.transform.DOMove(customerINMoveToPosition1.position, duration/2).SetEase(Ease.InSine);
this.transform.DOMove(customerINMoveToPosition2.position, duration / 2).SetDelay(duration / 2 + 0.2f)
.OnComplete( () => return true );
}
Comment