Skip to content

Commit

Permalink
更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
pirunxi committed Nov 23, 2023
1 parent f73ba7c commit 378d841
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/business/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

- [专业版](./pro/intro.md)。优化了性能、内存,提供更高的代码安全
- [**旗舰版**](./ultimate/intro.md)。包含专业版的所有功能,另外包含了我们最核心的[DHE技术](./differentialhybridexecution),极大提升了性能,几乎(**未改动时为100%**)达到同等的原生AOT水平
- [热重载版](./reload/intro.md)。包含专业版的所有功能,同时支持卸载和重新加载单独的assembly,当前可以卸载掉程序集**99.4%**以上的内存
- [热重载版](./reload/intro.md)。包含专业版的所有功能,同时支持卸载和重新加载单独的assembly,当前可以卸载掉程序集**100%**的元数据内存

|特性|社区版|专业版|旗舰版|热重载版|
|-|-|-|-|-|
Expand Down
2 changes: 1 addition & 1 deletion docs/business/reload/hotreloadassembly.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## 支持的特性

- 支持卸载assembly,卸载99.4%以上assembly所占用的内存(后续版本将支持卸载100%内存)
- 支持卸载assembly,卸载100%的assembly所占用的内存
- 支持重新加载assembly,代码可以任意变化甚至完全不同(MonoBehaviour和Scriptable有一定的限制)

## 待实现,暂未支持的特性
Expand Down
2 changes: 1 addition & 1 deletion docs/business/reload/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
## 优势

- 包含专业版的所有功能
- 支持卸载单独的assembly,卸载99.4%以上内存
- 支持卸载单独的assembly,卸载100%以上内存
- 支持重新加载assembly,支持MonoBehaviour及ScriptableObject的热重载。
- **TODO**。支持**限定热更新assembly中能访问的函数的集合**,适合UGC游戏中创建沙盒环境,避免恶意玩家代码造成破坏。
- 更敏捷的维护支持,随时获得最新的代码(社区版本出于维护成本考虑,只会定期发布版本)。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The hot reloading technology is used to completely unload or reload an assembly,

- Support unloading assembly
- Support reloading assembly, the code can be changed arbitrarily or even completely different (except MonoBehaviour class)
- Unload most of the memory (expected to be more than 95%), but a small amount remains (such as the memory occupied by the thread static member field marked by `[ThreadStatic]`)
- Unload 100% of the metadata memory


## To be implemented, currently unsupported features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ All Unity 2020-2022 LTS versions are supported.
## Advantage

- Support the `full generic sharing` technology of il2cpp starting from Unity 2021, value types can also be shared generically. It is no longer necessary to add metadata to AOT, which simplifies the workflow, effectively reduces the package size, and significantly reduces memory usage. Especially useful for packages and memory-critical platforms such as WebGL.
- Support unloading a single assembly, unloading most of the memory (expected to be more than 90%), but there is a small amount of residue (such as the memory occupied by the thread static member field marked by `[ThreadStatic]`)
- Support unloading a single assembly, unloading 100% of the metadata memory
- Support reloading assembly, the code can be changed arbitrarily or even completely different (except MonoBehaviour class). Hot overloading of MonoBehaviour and ScriptableObject.
- Support **Limit the collection of functions that can be accessed in the hot update assembly**, suitable for creating a sandbox environment in UGC games to avoid damage caused by malicious player code.
- More agile maintenance support, get the latest code at any time (the community version will only be released regularly due to maintenance cost considerations).

0 comments on commit 378d841

Please sign in to comment.