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 · 798 阅读 · 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 · 1925 阅读 · 0 评论
分享