mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
docs(ecs): 更新文档中的类型参数表示和相关链接
- 将文档中的 `ArchSystemAdapter<T>` 替换为 `ArchSystemAdapter<T>` 以正确显示尖括号 - 移除重复的许可证信息和分隔线 - 删除过时的文档链接,保持导航结构简洁
This commit is contained in:
parent
05d7557fa1
commit
f5d1985a59
@ -109,7 +109,7 @@ public struct Health(float current, float max)
|
||||
|
||||
### 4. 创建系统
|
||||
|
||||
系统继承自 `ArchSystemAdapter<T>`:
|
||||
系统继承自 `ArchSystemAdapter<T>`:
|
||||
|
||||
```csharp
|
||||
using Arch.Core;
|
||||
@ -349,9 +349,9 @@ world.Clear();
|
||||
|
||||
## 系统适配器
|
||||
|
||||
### ArchSystemAdapter<T>
|
||||
### ArchSystemAdapter<T>
|
||||
|
||||
`ArchSystemAdapter<T>` 桥接 Arch.System.ISystem<T> 到 GFramework 架构:
|
||||
`ArchSystemAdapter<T>` 桥接 Arch.System.ISystem<T> 到 GFramework 架构:
|
||||
|
||||
```csharp
|
||||
public sealed class MySystem : ArchSystemAdapter<float>
|
||||
@ -415,7 +415,7 @@ public sealed class MySystem : ArchSystemAdapter<float>
|
||||
|
||||
### 访问框架服务
|
||||
|
||||
`ArchSystemAdapter<T>` 继承自 `AbstractSystem`,可以使用所有 GFramework 的扩展方法:
|
||||
`ArchSystemAdapter<T>` 继承自 `AbstractSystem`,可以使用所有 GFramework 的扩展方法:
|
||||
|
||||
```csharp
|
||||
public sealed class ServiceAccessSystem : ArchSystemAdapter<float>
|
||||
@ -742,10 +742,4 @@ protected override void OnUpdate(in float deltaTime)
|
||||
## 相关资源
|
||||
|
||||
- [Arch.Core 官方文档](https://github.com/genaray/Arch)
|
||||
- [ECS 概述](./index.md)
|
||||
- [ECS 最佳实践](./best-practices.md)
|
||||
- [性能优化指南](./performance.md)
|
||||
|
||||
---
|
||||
|
||||
**许可证**:MIT License
|
||||
- [ECS 概述](./index.md)
|
||||
@ -283,15 +283,9 @@ public class ScoreSystem : AbstractSystem
|
||||
## 下一步
|
||||
|
||||
- [Arch ECS 集成指南](./arch.md) - 详细的 Arch ECS 使用文档
|
||||
- [ECS 最佳实践](./best-practices.md) - ECS 设计模式和优化技巧
|
||||
- [性能优化](./performance.md) - ECS 性能优化指南
|
||||
|
||||
## 相关资源
|
||||
|
||||
- [Architecture 架构系统](../core/architecture.md)
|
||||
- [System 系统](../core/system.md)
|
||||
- [事件系统](../core/events.md)
|
||||
|
||||
---
|
||||
|
||||
**许可证**:MIT License
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user