dotween插件的路径循环线性

DOPath的参数分别是vector3数组,时长,。。。
DG.Tweening.Core.TweenerCore<Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.PathOptions> tweener121;
            tweener121 = satellite1.transform.DOPath(GuiDao[i], 10, PathType.Linear, PathMode.Full3D, 10, null);

            tweener121.SetDelay(0);
            tweener121.SetEase(Ease.Linear);
            tweener121.SetLoops(-1, LoopType.Restart);
            tweener121.SetOptions(closePath: true);

猜你喜欢

转载自blog.csdn.net/yushengqi12345/article/details/110823172