Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ls9512 committed Feb 19, 2021
1 parent acae592 commit c299fe6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 20 deletions.
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,29 @@
* Good chain programming support.

### 1.2. <a name='Environment'></a>Environment
* Unity 2018.4.6f1 and above
* Unity 2019.4.3f1 and above
* .Net 4.x

### 1.3. <a name='Preview'></a>Preview
Add components and use rich built-in animation and easing functions:
![](/Res/UTween_TwweenType_EaseType.gif)

<div style="align: center">
<img src="/Res/UTween_TwweenType_EaseType.gif"/>
</div>

Support each axis independent curve:
![](/Res/UTween_InspectorMultiCurve.png)

<div style="align: center">
<img src="/Res/UTween_InspectorMultiCurve.png"/>
</div>

The editor previews the animation in real time, what you see is what you get:
![](/Res/UTween_EditorPreview.gif)

<div style="align: center">
<img src="/Res/UTween_EditorPreview.gif"/>
</div>

Built-in curve path editor:
![](/Res/UTween_PathEditor.gif)

<div style="align: center">
<img src="/Res/UTween_PathEditor.gif"/>
</div>

### 1.4. <a name='Install'></a>Install
* 1. Get the full latest version of the repository
Expand Down Expand Up @@ -204,7 +208,7 @@ Animation configuration resource files based on `ScriptableObject` can be import
***

## 5. <a name='PerformanceTesting'></a>Performance Testing
* Test platform: i5-8500 / 16GB DDR4 2666 / GTX 950 / Unity 2019.4.6f1
* Test platform: i5-8500 / 16GB DDR4 2666 / GTX 950 / Unity 2019.4.3f1
* 1000 GameObjects rely on the TweenAnimation/TweenPosition component to execute in the scene. In the editor mode, the Profier counts that each frame consumes 3.21ms of CPU time. Under the same environment and animation effects, DOTween is 2.51ms.
* Except that the object pool is empty at startup, all required Tweener objects need to be created, as well as string-related operations. In most cases, the GC is 0.

Expand Down
24 changes: 14 additions & 10 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,29 @@
* 良好的链式编程支持。

### 1.2. <a name='-1'></a>环境要求
* Unity 2018.4.6f1 及以上
* Unity 2019.4.3f1 及以上
* .Net 4.x

### 1.3. <a name='-1'></a>功能预览
添加组件,并使用丰富的内置动画和缓动函数:
![](/Res/UTween_TwweenType_EaseType.gif)

<div style="align: center">
<img src="/Res/UTween_TwweenType_EaseType.gif"/>
</div>

支持每个轴向独立曲线:
![](/Res/UTween_InspectorMultiCurve.png)

<div style="align: center">
<img src="Res/UTween_InspectorMultiCurve.png"/>
</div>

编辑器实时预览动画,所见即所得:
![](/Res/UTween_EditorPreview.gif)

<div style="align: center">
<img src="/Res/UTween_EditorPreview.gif"/>
</div>

内置曲线路径编辑器:
![](/Res/UTween_PathEditor.gif)

<div style="align: center">
<img src="/Res/UTween_PathEditor.gif"/>
</div>

### 1.4. <a name='-1'></a>插件安装
* 1. 获取该仓库的完整最新版本
Expand Down Expand Up @@ -204,7 +208,7 @@ Tweener 的编辑器类,用于在 **Inspector** 中配置动画,针对不同
***

## 5. <a name='-1'></a>性能测试
* 测试平台 : i5-8500 / 16GB DDR4 2666 / GTX 950 / Unity 2019.4.6f1
* 测试平台 : i5-8500 / 16GB DDR4 2666 / GTX 950 / Unity 2019.4.3f1
* 1000 个 GameObject 在场景中依赖 TweenAnimation/TweenPosition 组件执行,在编辑器模式下,Profier 统计每帧消耗CPU时间 3.21ms,同样环境和动画效果下 DOTween 为 2.51ms。
* 除了启动时对象池为空,需要创建所有需要的 Tweener 对象,以及字符串相关操作,大部分情况下 GC 为 0.

Expand Down

0 comments on commit c299fe6

Please sign in to comment.