2022-03-03 18:08:32 +08:00
|
|
|
# 快速开始
|
|
|
|
|
|
|
|
**下载安装**
|
|
|
|
|
2022-04-06 14:50:21 +08:00
|
|
|
1. 通过PackageManager安装
|
|
|
|
|
|
|
|
打开管理界面 **Edit/Project Settings/Package Manager**
|
|
|
|
|
|
|
|
````
|
|
|
|
// 输入以下内容
|
|
|
|
Name: package.openupm.cn
|
|
|
|
URL: https://package.openupm.cn
|
|
|
|
Scope(s): com.tuyoogame.yooasset
|
|
|
|
````
|
|
|
|
|
|
|
|
![image](https://github.com/tuyoogame/YooAsset/raw/main/Docs/Image/QuickStart-img1.jpg)
|
|
|
|
|
|
|
|
打开管理界面 **Edit/Windows/Package Manager**
|
|
|
|
|
|
|
|
![image](https://github.com/tuyoogame/YooAsset/raw/main/Docs/Image/QuickStart-img2.jpg)
|
|
|
|
|
|
|
|
2. 通过Packages清单安装
|
|
|
|
|
|
|
|
直接修改Packages文件夹下的清单文件manifest.json
|
|
|
|
|
|
|
|
````json
|
|
|
|
{
|
|
|
|
"dependencies": {
|
|
|
|
"com.tuyoogame.yooasset": "0.0.1-preview",
|
|
|
|
......
|
|
|
|
},
|
|
|
|
"scopedRegistries": [
|
|
|
|
{
|
|
|
|
"name": "package.openupm.cn",
|
|
|
|
"url": "https://package.openupm.cn",
|
|
|
|
"scopes": [
|
|
|
|
"com.tuyoogame.yooasset"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
````
|
|
|
|
|
|
|
|
3. 通过Github下载安装
|
|
|
|
|
|
|
|
|
2022-03-03 18:08:32 +08:00
|
|
|
|
|
|
|
**系统需求**
|
|
|
|
|
2022-04-03 22:26:53 +08:00
|
|
|
支持版本: Unity2019.4+
|
2022-03-03 18:08:32 +08:00
|
|
|
|
|
|
|
支持平台: Windows、OSX、Android、iOS
|
|
|
|
|
|
|
|
开发环境: .NET4.x
|
|
|
|
|
|
|
|
**目录结构**
|
|
|
|
|
|
|
|
````
|
|
|
|
Assets
|
|
|
|
└─ YooAsset
|
|
|
|
├─ Editor 编辑器源码目录
|
|
|
|
├─ Runtime 运行时源码目录
|
|
|
|
├─ LICENSE 版权文档
|
|
|
|
└─ README 说明文档
|
|
|
|
````
|
|
|
|
|