chore(godot): align dependencies and document host capabilities
Publish NuGet packages / publish (push) Successful in 3m23s

This commit is contained in:
2026-09-29 10:14:51 +08:00
parent 77adb61b3b
commit e355bbfd35
2 changed files with 15 additions and 5 deletions
+10
View File
@@ -7,3 +7,13 @@ dotnet add package ShrinkSDK.Godot --version 0.1.0
```
主场景根节点继承 `ShrinkGodotHost`,在 `_Ready` 中先调用 `base._Ready()`,再调用 `StartAppAsync()`。CodeGen 由依赖模块的 `buildTransitive` 自动启用。
## 可复用能力
<!-- shrink:capabilities -->
Capability: Godot 宿主生命周期、主线程派发与网络每帧处理预算
Aliases: Godot 主线程 派发 队列 预算
Limits: Godot C# 需要 .NET SDK;Unity 编译输入不包含此宿主,符号查询使用 --project Godot/Packages/ShrinkSDK.Godot/ShrinkSDK.Godot.csproj
Extension: ShrinkGodotHost.NetworkDispatchBudgetPerFrame 与 TryPost
Evidence: [ShrinkGodotHost](ShrinkGodotHost.cs)
<!-- /shrink:capabilities -->