![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Dotween
RandomValue
这个作者很懒,什么都没留下…
展开
-
DotweenPath代码设置路径点
public float TweenFloat;public Transform[] AllFlyPoints; public void FlyPath(Action ac) { var positions = AllFlyPoints.Select(u => u.position).ToArray(); transform.DOPath(positions, TweenFloat, PathType.CatmullRom, PathMode.Fu...原创 2021-09-18 13:30:05 · 691 阅读 · 0 评论 -
Dotween插件代码设置旋转
设置旋转时长,旋转相对空间,旋转模式,设置旋转次数,旋转的回调方式transform.DORotate(new Vector3(37, 127, 0), rotatetime, RotateMode.Fast).SetEase(Ease.Linear).SetLoops(-1, LoopType.Yoyo);transform.DORotate(new Vector3(37, 127, 0), rotatetime, RotateMode.WorldAxisAdd).SetEase(Ease.Lin原创 2020-05-27 18:07:11 · 1735 阅读 · 0 评论