update readme

This commit is contained in:
Mikhail 2026-03-18 13:36:52 +08:00
parent 5b9e23f852
commit 8bb2a1cbd8
2 changed files with 23 additions and 13 deletions

View File

@ -91,23 +91,27 @@ DragonECS 是一个[实体组件系统](https://www.imooc.com/article/331544)框
必备要求: 必备要求:
* 最低 C# 版本7.3。 * 最低 C# 版本7.3。
可选要求 支持
* 支持 NativeAOT * NativeAOT
* 使用 C# 的游戏引擎Unity、Godot、MonoGame 等。 * 使用 C# 的游戏引擎Unity、Godot、MonoGame 等。
已测试: 已测试:
* **Unity:** 最低版本 2021.2.0。 * **Unity:** 最低版本 2021.2.0。
## 为Unity安装 ## 为 Unity 安装
> 还建议安装[Unity引擎集成](https://github.com/DCFApixels/DragonECS-Unity)扩展。 > 还建议安装[Unity 引擎集成](https://github.com/DCFApixels/DragonECS-Unity)扩展。
* ### Unity-软件包 * ### Unity 软件包
支持以Unity软件包的形式安装。可以通过[git-url添加到PackageManager](https://docs.unity3d.com/cn/2023.2/Manual/upm-ui-giturl.html)或手动添加到`Packages/manifest.json` 支持以 Unity 软件包的形式安装。可以通过在 PackageManager 中添加 Git URL参见 [教程](https://docs.unity3d.com/cn/2023.2/Manual/upm-ui-giturl.html)或手动将条目添加到 `Packages/manifest.json`
``` ```
https://github.com/DCFApixels/DragonECS.git https://github.com/DCFApixels/DragonECS.git
``` ```
或者在 `Packages/manifest.json` 中添加包条目:
```
"com.dcfa_pixels.dragonecs": "https://github.com/DCFApixels/DragonECS.git",
```
* ### 作为源代码 * ### 作为源代码
框架也可以通过复制源代码添加到项目中。 也可以通过将框架的源代码直接复制到项目中来使用该框架
# 扩展 # 扩展
* 集成: * 集成:

View File

@ -94,21 +94,27 @@ Versioning semantics - [Open](https://gist.github.com/DCFApixels/e53281d4628b19f
Requirements: Requirements:
* Minimum C# version: 7.3. * Minimum C# version: 7.3.
Optional: Supported:
* Support for NativeAOT * NativeAOT;
* Game engines with C#: Unity, Godot, MonoGame, etc. * Game engines with C#: Unity, Godot, MonoGame, etc.
Tested with: Tested with:
* **Unity:** Minimum version 2021.2.0. * **Unity:** Minimum version 2021.2.0.
## Unity Installation ## Unity Installation
* ### Unity Package > It is also recommended to install the Unity engine integration extension [Unity integration](https://github.com/DCFApixels/DragonECS-Unity)
The framework can be installed as a Unity package by adding the Git URL [in the PackageManager](https://docs.unity3d.com/2023.2/Documentation/Manual/upm-ui-giturl.html) or manually adding it to `Packages/manifest.json`: * ### Unity package
The framework supports installation as a Unity package by adding the Git URL to the PackageManager ([how-to](https://docs.unity3d.com/2023.2/Documentation/Manual/upm-ui-giturl.html)) or by manually adding the entry to `Packages/manifest.json`:
``` ```
https://github.com/DCFApixels/DragonECS.git https://github.com/DCFApixels/DragonECS.git
``` ```
* ### Source Code Or add the package entry to `Packages/manifest.json`:
The framework can also be added to the project as source code. ```
"com.dcfa_pixels.dragonecs": "https://github.com/DCFApixels/DragonECS.git",
```
* ### As source code
You can also add the framework directly by copying its source files into your project.
# Extensions # Extensions