Unity_DOTween动画的学习(二)_DOTween Sequence 使用图解
来源:互联网 发布:etm软件会员 编辑:程序博客网 时间:2024/05/21 17:12
Unity_DOTween动画的学习(二)<21/9/2017>
最近在使用DOTween制作一些动画过渡的内容,发现非常好用,使用Sequence类可以方便的组织Tweens来制作复杂的过渡动画。Sequence的几个函数文档说明都比较简单,我列出每个函数调用后的Sequence变化以方便查阅。
下图表示调用函数前的Sequence。
Append(Tween tween)
Adds the given tween to the end of the Sequence.
在Sequence的最后添加一个tween。
AppendCallback(TweenCallback callback)
Adds the given callback to the end of the Sequence.
在Sequence的最后添加一个回调函数。
AppendInterval(float interval)
Adds the given interval to the end of the Sequence.
在Sequence的最后添加一段时间间隔。
Insert(float atPosition, Tween tween)
Inserts the given tween at the given time position, thus allowing you to overlap tweens instead than just placing them one after each other.
在给定的时间位置上放置一个tween,可以实现同时播放多个tween的效果,而不是一个接着一个播放。
InsertCallback(float atPosition, TweenCallback callback)
Inserts the given callback at the given time position.
在给定的时间位置上放置一个回调函数。
Join(Tween tween)
Inserts the given tween at the same time position of the last tween added to the Sequence.
在Sequence的最后一个tween的开始处放置一个tween。
Prepend(Tween tween)
Adds the given tween to the beginning of the Sequence, pushing forward in time the rest of the contents
在Sequence开始处插入一个tween,原先的内容根据时间往后移。
PrependCallback(TweenCallback callback)
Adds the given callback to the beginning of the Sequence.
在Sequence开始处插入一个回调函数。
PrependInterval(float interval)
Adds the given interval to the beginning of the Sequence, pushing forward in time the rest of the contents.
在Sequence开始处插入一段时间间隔,原先的内容根据时间往后移。
- Unity_DOTween动画的学习(二)_DOTween Sequence 使用图解
- Unity_DOTween动画的学习(十)_DOTween路径编辑器的使用和技巧了解(DOTween秒杀iTween精华)
- Unity_DOTween动画的学习(九)_可视化动画组件DOTween Animation的使用
- Unity_DOTween动画的学习(七)_Tweener的使用简单补充_DOText的简单演示
- Unity_DOTween动画的学习(三)_Sequence的示例演示
- Unity_DOTween动画的学习(四)_基础演示复习
- Unity_DOTween动画的学习(六)_From()用法理解和注意事项
- Unity_DOTween动画的学习(十二)_Blendable tweens可混合动画的学习(英文文档篇)
- Unity_DOTween动画的学习(八)_动画的生命周期和生命周期函数
- Unity_DOTween动画的学习(五)_Tweener的使用和注意事项_DOPlay播一次_DOPlayForward播多次_DOPlayBackwards倒放_SetAutoKill动画的自动销
- Unity_DOTween动画的学习(一)_三种方式_Tween的控制&Call Back
- Unity_DOTween动画的学习(十一)_DOTweenPath路径编辑器的使用补充_结合按钮触发不同点击事件控制播放状态_Waypoints
- DOTween Sequence 使用图解
- DOTween Sequence 使用图解
- 写给自己看的博客_DoTween
- android 动画-Tween Animation(二) 动画的简单使用
- Android动画的使用(二):属性动画
- Anroid动画总结二:属性动画 ValueAnimator的基本使用
- 栈的压入,弹出序列
- object类型数据转json类型的数据
- RecyclerView添加头布局
- Win8.1 安装nltk及nltk_data数据
- My97日期插件实现日期多选
- Unity_DOTween动画的学习(二)_DOTween Sequence 使用图解
- iText解析pdf调研
- QLayout的使用小结
- Spring——控制反转、反射与依赖注入
- 关于静态变量的初始化时机
- JavaScript入门篇--你也有控制权(DOM操作)
- 如何将百度地图引入到HTML和VUE文件中?
- 【分治计数】BZOJ3745 [Coci2015]Norma
- 2017年9月16日提高组T2 B 三维导弹拦截