DOTween Sequence 使用图解
来源:互联网 发布:ae软件中文版免费下载 编辑:程序博客网 时间:2024/04/30 16:27
最近在使用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开始处插入一段时间间隔,原先的内容根据时间往后移。
- DOTween Sequence 使用图解
- DOTween Sequence 使用图解
- DoTween - Sequence
- DOTween:Sequence
- DoTween使用
- DOTween使用
- dotween 防止sequence自动销毁
- DoTween的使用
- Unity 使用DoTween
- DoTween的使用
- Dotween插件使用
- DoTween基础使用
- DOTween插件使用
- Ulua使用DoTween教程
- UGUI_使用DoTween
- DoTween
- Dotween
- DoTween
- Ubuntu下函数使用“math.h"编译出现的问题
- 推荐系统开源软件列表 | Resys China
- 漫谈可视化Prefuse(二)---一分钟学会Prefuse
- poj解题报告——3252
- i/o输入输出
- DOTween Sequence 使用图解
- 第五章 树和二叉树思维导图
- Android网络编程之——Android登录系统模块的实现(服务器端Servlet+Mysql)
- BZOJ 3770 疯狂的限制
- 我是如何在SQLServer中处理每天四亿三千万记录的
- 树链剖分
- CSS定义网页滚动条和去掉滚动条的方法
- 多线程创建 方法三: GCD 基础
- iOS 定位和地图