DOTweenを使っています。
SequenceとカスタムTweenの間に待機時間を挟みたく下のように書いているのですが、OnComplete()に待機時間がかかってしまいます。
var openSeq = DOTween.Sequence(); openSeq .Append(gameObject.GetComponent<CanvasGroup>().DOFade(1, .6f).SetEase(Ease.OutQuad)) .Join(decoration.DOScaleX(1, .5f).SetDelay(.2f).SetEase(Ease.OutCubic)) .AppendInterval(1f) .Append(DOTween.ToAlpha(() => headerText.color, color => headerText.color = color, 1, .2f).SetEase(Ease.OutSine)) .OnComplete(() => { Debug.Log("complete"); });
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。