Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit 8f190bc

Browse files
authored
Merge pull request #172 from Unity-Technologies/bump_to_2.0.2
Bump to 2.0.2
2 parents 7853e8f + 286e215 commit 8f190bc

File tree

4 files changed

+35
-3
lines changed

4 files changed

+35
-3
lines changed

README-ZH.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@ https://github.com/UnityTech/DocCN 查看。
5252

5353
#### Unity
5454

55-
安装 **Unity 2019.4.25f1c2**_unityhub://2019.4.25f1c2/44dea2b5e6e6_)或 **Unity 2019.4.26f1c1**。 你可以从[https://unity3d.com/get-unity/download](https://unity3d.com/get-unity/download)下载最新的Unity。
55+
UIWidgets的各个版本所需的Unity版本如下表所示。您可以从[https://unity3d.com/get-unity/download](https://unity3d.com/get-unity/download)下载最新的Unity。
56+
57+
| UIWidgets 版本 | Unity 2019 LTS | Unity 2020 LTS |
58+
| -----------------------------------------------| ------------------------- | ------------------------- |
59+
| 1.5.4 及以下 | 2019.4.10f1 及以上 | N\A |
60+
| 2.0.1 | 2019.4.26f1c1 | N\A |
61+
| 2.0.2 及以上 | 2019.4.26f1c1 及以上 | N\A |
5662

5763
#### UIWidgets包
5864

@@ -196,6 +202,9 @@ UIWidgets也支持Gif!
196202
#### 七、图片导入设置
197203
请将图片放入StreamingAssets下,而后用```Image.file```读取
198204

205+
#### 八、自动降低帧率
206+
目前在默认情况下,为了保证流畅度,项目在各个平台上均会以最高的刷新频率运行。不过您可以通过在代码中设置```SchedulerBinding.MEnableAutoAdjustFramerate = true```的方式来开启自动降帧的功能:该功能开启后,在UI内容不变的情况下我们将降低项目的刷新率来降低耗电。
207+
199208

200209
## 调试UIWidgets应用程序
201210

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,13 @@ open-sourced @https://github.com/UnityTech/DocCN.
6161

6262
#### Unity
6363

64-
Install **Unity 2019.4.25f1c2** (_unityhub://2019.4.25f1c2/44dea2b5e6e6_) or **Unity 2019.4.26f1c1**. You can download the latest Unity on https://unity3d.com/get-unity/download.
64+
The compatible Unity versions for each UIWidgets release are listed below. You can download the latest Unity on https://unity3d.com/get-unity/download.
65+
66+
| UIWidgets version | Unity 2019 LTS | Unity 2020 LTS |
67+
| -----------------------------------------------| ------------------------- | ------------------------- |
68+
| 1.5.4 and below | 2019.4.10f1 and above | N\A |
69+
| 2.0.1 | 2019.4.26f1c1 | N\A |
70+
| 2.0.2 and above | 2019.4.26f1c1 and above | N\A |
6571

6672
#### UIWidgets Package
6773
Visit our Github repository https://github.com/Unity-Technologies/com.unity.uiwidgets
@@ -207,6 +213,10 @@ want to show the status bar in your App, you can disable```Start in fullscreen``
207213
#### Image Import Setting
208214
Please put images under StreamingAssets folder, a and loading it using ```Image.file```.
209215

216+
#### Automatic Framerate Adjustment
217+
You can enable this feature by setting ```SchedulerBinding.MEnableAutoAdjustFramerate = true``` in your project, which will automatically drop the frame rate of your App to 0 if the UI contents of UIWidgetsPanel is not changed for some time. This will help to prevent battery drain on mobile devices significantly.
218+
219+
Note that this feature is disabled by default though.
210220

211221
## Debug UIWidgets Application
212222

com.unity.uiwidgets/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ All notable changes to this package will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [2.0.2-preview.1] - 2021-05-31
8+
9+
Major changes are as follows:
10+
11+
### Fixes
12+
- Android return button support [\#168](https://github.com/Unity-Technologies/com.unity.uiwidgets/pull/168)
13+
14+
### New Features
15+
- Add engine compilation scripts [\#170](https://github.com/Unity-Technologies/com.unity.uiwidgets/pull/170)
16+
- On demand rendering support [\#166](https://github.com/Unity-Technologies/com.unity.uiwidgets/pull/166)
17+
- [Breaking Changes] Use CreateExternalTexture API to share textures on Windows [\#153](https://github.com/Unity-Technologies/com.unity.uiwidgets/pull/153)
18+
19+
720
## [2.0.1-preview.1] - 2021-05-18
821

922
#### In this release we mainly focus on the optimization and stabilization of the framework.

com.unity.uiwidgets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.unity.uiwidgets",
33
"displayName":"UIWidgets",
4-
"version": "2.0.1-preview.1",
4+
"version": "2.0.2-preview.1",
55
"unity": "2019.4",
66
"description": "UIWidgets allows you to build beautiful cross-platform apps through Unity",
77
"dependencies": {

0 commit comments

Comments
 (0)