用Dotween做延时操作


float timeCount = 0.1f;
DOTween.To(() => timeCount, a => timeCount = a, 0.1f, 0.1f).OnComplete(new TweenCallback(delegate
            {
     
            //延时后的操作
             }));

你可能感兴趣的:(unity,unity3d)