当前位置:网站首页>Dotween usage records ----- appendinterval, appendcallback

Dotween usage records ----- appendinterval, appendcallback

2022-07-05 04:55:00 yoyoHm

Use sequence To arrange this time-dependent sequence code ,
    Sequence sequence = DOTween.Sequence();
          sequence.Append(guides.DOScale(0.0f * Vector3.one, PopOutTime / 1.5f).SetEase(Ease.InExpo)).
                 AppendInterval(nextGuideInterval).
                AppendCallback(delegate {
                    guides.gameObject.SetActive(active);// Ban
                     onComplete = true;
                 });
append, Start a tween,AppendInterval, Then wait nextGuideInterval  second ,AppendCallback  Execute this callback, It's the commission that comes in
原网站

版权声明
本文为[yoyoHm]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140626088012.html