From 8bb2a1cbd808a6618a18856e235c8cf6a00d8ee7 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Wed, 18 Mar 2026 13:36:52 +0800 Subject: [PATCH] update readme --- README-ZH.md | 18 +++++++++++------- README.md | 18 ++++++++++++------ 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/README-ZH.md b/README-ZH.md index 27dd568..8f23653 100644 --- a/README-ZH.md +++ b/README-ZH.md @@ -91,23 +91,27 @@ DragonECS 是一个[实体组件系统](https://www.imooc.com/article/331544)框 必备要求: * 最低 C# 版本:7.3。 -可选要求: -* 支持 NativeAOT; +支持: +* NativeAOT; * 使用 C# 的游戏引擎:Unity、Godot、MonoGame 等。 已测试: * **Unity:** 最低版本 2021.2.0。 -## 为Unity安装 -> 还建议安装[Unity引擎集成](https://github.com/DCFApixels/DragonECS-Unity)扩展。 -* ### Unity-软件包 -支持以Unity软件包的形式安装。可以通过[git-url添加到PackageManager](https://docs.unity3d.com/cn/2023.2/Manual/upm-ui-giturl.html)或手动添加到`Packages/manifest.json`: +## 为 Unity 安装 +> 还建议安装[Unity 引擎集成](https://github.com/DCFApixels/DragonECS-Unity)扩展。 +* ### Unity 软件包 +支持以 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 ``` +或者在 `Packages/manifest.json` 中添加包条目: +``` +"com.dcfa_pixels.dragonecs": "https://github.com/DCFApixels/DragonECS.git", +``` * ### 作为源代码 -框架也可以通过复制源代码添加到项目中。 +也可以通过将框架的源代码直接复制到项目中来使用该框架。 # 扩展 * 集成: diff --git a/README.md b/README.md index f6c1583..2787e21 100644 --- a/README.md +++ b/README.md @@ -94,21 +94,27 @@ Versioning semantics - [Open](https://gist.github.com/DCFApixels/e53281d4628b19f Requirements: * Minimum C# version: 7.3. -Optional: -* Support for NativeAOT +Supported: +* NativeAOT; * Game engines with C#: Unity, Godot, MonoGame, etc. Tested with: * **Unity:** Minimum version 2021.2.0. ## Unity Installation -* ### Unity Package -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`: +> It is also recommended to install the Unity engine integration extension [Unity integration](https://github.com/DCFApixels/DragonECS-Unity) +* ### 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 ``` -* ### Source Code -The framework can also be added to the project as source code. +Or add the package entry to `Packages/manifest.json`: +``` +"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