浏览代码

Merge pull request #172 from Unity-Technologies/bump_to_2.0.2

Bump to 2.0.2
/main
GitHub 3 年前
当前提交
1ebdaf60
共有 4 个文件被更改,包括 35 次插入3 次删除
  1. 11
      README-ZH.md
  2. 12
      README.md
  3. 13
      com.unity.uiwidgets/CHANGELOG.md
  4. 2
      com.unity.uiwidgets/package.json

11
README-ZH.md


#### Unity
安装 **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。
UIWidgets的各个版本所需的Unity版本如下表所示。您可以从[https://unity3d.com/get-unity/download](https://unity3d.com/get-unity/download)下载最新的Unity。
| UIWidgets 版本 | Unity 2019 LTS | Unity 2020 LTS |
| -----------------------------------------------| ------------------------- | ------------------------- |
| 1.5.4 及以下 | 2019.4.10f1 及以上 | N\A |
| 2.0.1 | 2019.4.26f1c1 | N\A |
| 2.0.2 及以上 | 2019.4.26f1c1 及以上 | N\A |
#### UIWidgets包

#### 七、图片导入设置
请将图片放入StreamingAssets下,而后用```Image.file```读取
#### 八、自动降低帧率
目前在默认情况下,为了保证流畅度,项目在各个平台上均会以最高的刷新频率运行。不过您可以通过在代码中设置```SchedulerBinding.MEnableAutoAdjustFramerate = true```的方式来开启自动降帧的功能:该功能开启后,在UI内容不变的情况下我们将降低项目的刷新率来降低耗电。
## 调试UIWidgets应用程序

12
README.md


#### Unity
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.
The compatible Unity versions for each UIWidgets release are listed below. You can download the latest Unity on https://unity3d.com/get-unity/download.
| UIWidgets version | Unity 2019 LTS | Unity 2020 LTS |
| -----------------------------------------------| ------------------------- | ------------------------- |
| 1.5.4 and below | 2019.4.10f1 and above | N\A |
| 2.0.1 | 2019.4.26f1c1 | N\A |
| 2.0.2 and above | 2019.4.26f1c1 and above | N\A |
#### UIWidgets Package
Visit our Github repository https://github.com/Unity-Technologies/com.unity.uiwidgets

#### Image Import Setting
Please put images under StreamingAssets folder, a and loading it using ```Image.file```.
#### Automatic Framerate Adjustment
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.
Note that this feature is disabled by default though.
## Debug UIWidgets Application

13
com.unity.uiwidgets/CHANGELOG.md


The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [2.0.2-preview.1] - 2021-05-31
Major changes are as follows:
### Fixes
- Android return button support [\#168](https://github.com/Unity-Technologies/com.unity.uiwidgets/pull/168)
### New Features
- Add engine compilation scripts [\#170](https://github.com/Unity-Technologies/com.unity.uiwidgets/pull/170)
- On demand rendering support [\#166](https://github.com/Unity-Technologies/com.unity.uiwidgets/pull/166)
- [Breaking Changes] Use CreateExternalTexture API to share textures on Windows [\#153](https://github.com/Unity-Technologies/com.unity.uiwidgets/pull/153)
## [2.0.1-preview.1] - 2021-05-18
#### In this release we mainly focus on the optimization and stabilization of the framework.

2
com.unity.uiwidgets/package.json


{
"name": "com.unity.uiwidgets",
"displayName":"UIWidgets",
"version": "2.0.1-preview.1",
"version": "2.0.2-preview.1",
"unity": "2019.4",
"description": "UIWidgets allows you to build beautiful cross-platform apps through Unity",
"dependencies": {
正在加载...
取消
保存