Unity-Tween 插件比较
来源:互联网 发布:黄牛抢票软件个人版 编辑:程序博客网 时间:2024/06/08 10:13
1、GoKit
免费开源
AssetStore:https://www.assetstore.unity3d.com/en/#!/content/3663
下载地址:https://github.com/prime31/GoKit
2、ITween
免费开源
官网:http://itween.pixelplacement.com/index.php
AssetStore:https://www.assetstore.unity3d.com/en/#!/content/84
下载地址:https://github.com/jtothebell/iTween
缺点:
- 大量使用SendMessage,而SendMessage使用反射,效率不高
- iTween的参数都是string,你需要自己去拼一个Hashtable,去记字符串,不人性化!每次写都要去它的官网上去查字符串怎么拼,挺蛋疼的!
3、LeanTween
免费开源
AssetStore:https://www.assetstore.unity3d.com/en/#!/content/3595
下载地址:https://github.com/dentedpixel/LeanTween
优点:貌似比Hotween和Itween性能好,快!参考:http://dentedpixel.com/developer-diary/leantween-speed-comparison-to-itween/
4、Hotween
免费开源
官网:http://hotween.demigiant.com/
AssetStore:https://www.assetstore.unity3d.com/en/#!/content/3311
下载地址:http://hotween.demigiant.com/
5、DOTween
这是Hotween官网出的,速度超过4倍更快,更高效,大量的新功能
下载地址:http://dotween.demigiant.com/download.php#download
Comparison with other engines
If you want, you can download the test package I used (oops sorry, I'll put it up there when I get into beta, otherwise I should update it every hour - but you can still get the most recent one from DOTween's Google Code area).
All these tests were done from a build, since some of these tween engines (DOTween, HOTween and GoKit) do additional stuff while in the Editor to show editor-only debug informations, and thus testing them outside the editor, where it counts, seemed more fair.
To keep the test accurate download the latest versions of all engines and replace the old ones (the ones used here are from July/August 2014).
Generic floats
You'll find more tests for the tween of generic floats because GoKit and iTween couldn't tween as many as the other engines, but I still wanted to show high-level results.
64,000 generic floats in a loop
16,000 generic floats in a loop
2,000 generic floats in a loop
Transforms
4,000 transforms looping around
实现人物沿四个点移动,实现这同一效果,代码分别为:
总结:
从以上分析,Dotween和Leantween效率比较好,但是从代码角度看,Dotween代码可读性强,体现了面向对象的思想,而Leantween仍然要死记字符串!
- Unity-Tween 插件比较
- Unity-Tween
- Unity-Tween
- Unity Tween tool
- unity Tween相关
- Unity NGUI Tween的用法
- Unity插件之NGUI学习(9)—— Tween和世界坐标系尺寸转换为NGUI尺寸
- tween
- tween
- tween
- tween
- 缓动动画插件tween.js
- Unity插件
- Unity插件
- Unity插件
- DFTween:unity最好的补间tween动画系统
- 重头戏来了哦,英雄的介绍,Tween插件
- UGUI 过渡动画插件,模仿NGUI的Tween (转载)
- 大规模业务服务器开发总结
- FreeRTOS基础知识
- va_list可变参数简单使用test
- Android(Lollipop/5.0) Material Design(三) 使用Material主题
- 一个服务器下配置多个项目,输入域名就能访问项目
- Unity-Tween 插件比较
- Android 开发环境下载地址
- python 使用pip 与python path
- jsp页面动态获取时间
- 2012年5月SAT香港真题解析
- 一些sql面试题
- 输入url到页面返回的全过程
- 构造函数和析构函数的使用
- Project Euler :Problem 54 Poker hands