From fce3ae2fec93a85667482f54a7b71eebdb3d1238 Mon Sep 17 00:00:00 2001
From: ls9512 <598914653@qq.com>
Date: Wed, 24 Feb 2021 12:46:03 +0800
Subject: [PATCH] Update README
---
README.md | 22 +++++++++++++++-------
README_CN.md | 18 +++++++++++++-----
2 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 45b38b8..f5747da 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,8 @@
**UTween** is an interpolation animation component for **Unity**. You can quickly configure animations through built-in components or write animations through code.
![license](https://img.shields.io/github/license/ls9512/UTween)
-[![Release Version](https://img.shields.io/badge/release-1.0.1-red.svg)](https://github.com/ls9512/UTween/releases)
+[![openupm](https://img.shields.io/npm/v/com.ls9512.utween?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/com.ls9512.utween/)
+[![Release Version](https://img.shields.io/badge/release-1.0.2-red.svg)](https://github.com/ls9512/UTween/releases)
![topLanguage](https://img.shields.io/github/languages/top/ls9512/UTween)
![size](https://img.shields.io/github/languages/code-size/ls9512/UTween)
![last](https://img.shields.io/github/last-commit/ls9512/UTween)
@@ -22,7 +23,7 @@
* 1.1. [Features](#Features)
* 1.2. [Environment](#Environment)
* 1.3. [Preview](#Preview)
- * 1.4. [Install](#Install)
+ * 1.4. [Installation](#Installation)
* 2. [ Parameter](#Parameter)
* 3. [Built-in Function](#Built-inFunction)
* 3.1. [Core](#Core)
@@ -100,11 +101,18 @@ Built-in curve path editor:
-### 1.4. Install
-* 1. Get the full latest version of the repository
-* 2. Delete unnecessary extensions in the `/Extension` folder
-* 3. Decide if you need to delete the `/Example` directory
-* 4. Copy the entire folder to `Assets/Plugins/`
+### 1.4. Installation
+* 1. Download the latest [release](https://github.com/ls9512/UTween/releases) version of unitypackage.
+* 2. Install via [OpenUPM](https://github.com/openupm/openupm):
+```
+openupm add com.ls9512.utween
+```
+* 3. Install via [Unity Package Manager - Git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html):
+```
+"com.ls9512.utween": "git+https://github.com/ls9512/utween"
+```
+* 4. Download the repository source code and install it manually.
+* 5. May be released to AssetStore in the future.
## 2. Parameter
* **From**: Starting value for interpolation
diff --git a/README_CN.md b/README_CN.md
index 76c1e68..76f35bb 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -6,7 +6,8 @@
![license](https://img.shields.io/github/license/ls9512/UTween)
-[![Release Version](https://img.shields.io/badge/release-1.0.1-red.svg)](https://github.com/ls9512/UTween/releases)
+[![openupm](https://img.shields.io/npm/v/com.ls9512.utween?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/com.ls9512.utween/)
+[![Release Version](https://img.shields.io/badge/release-1.0.2-red.svg)](https://github.com/ls9512/UTween/releases)
![topLanguage](https://img.shields.io/github/languages/top/ls9512/UTween)
![size](https://img.shields.io/github/languages/code-size/ls9512/UTween)
![last](https://img.shields.io/github/last-commit/ls9512/UTween)
@@ -102,10 +103,17 @@
### 1.4. 插件安装
-* 1. 获取该仓库的完整最新版本
-* 2. 删除 `/Extension` 文件夹中不需要的扩展
-* 3. 自行决定是否需要删除 `/Example` 目录
-* 4. 拷贝整个文件夹至 `Assets/Plugins/` 中
+* 1.通过最新的 [release](https://github.com/ls9512/UTween/releases) 版本的 unitypackage 安装。
+* 2.通过 [OpenUPM](https://github.com/openupm/openupm) 安装:
+```
+openupm add com.ls9512.utween
+```
+* 3.通过 [Unity Package Manager - Git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html)安装:
+```
+"com.ls9512.utween": "git+https://github.com/ls9512/utween"
+```
+* 4.下载仓库源码手动安装。
+* 5.未来可能发布到 AssetStore。
## 2. 参数定义
* **From**: 插值的起始值