Compare commits

..
2 Commits
Author SHA1 Message Date
cneicy 7de22c85fb feat: update Godot integration and coordinated package dependencies
Publish UPM package / publish (push) Successful in 2s
Publish NuGet packages / publish (push) Successful in 3m42s
2026-11-06 19:13:22 +08:00
cneicy 52b92d3657 docs: describe reusable runtime capabilities 2026-09-29 10:14:50 +08:00
4 changed files with 17 additions and 2 deletions

No files matched your search

@@ -5,7 +5,7 @@
<AssemblyName>ShrinkRuntime.Abstractions</AssemblyName>
<RootNamespace>ShrinkSDK.Runtime</RootNamespace>
<PackageId>ShrinkSDK.Runtime.Abstractions</PackageId>
<Version>0.1.0</Version>
<Version>0.2.0</Version>
<Description>Engine-neutral ShrinkSDK runtime contracts.</Description>
</PropertyGroup>
<ItemGroup>
+10
View File
@@ -5,3 +5,13 @@ Unity 和普通 .NET/Godot 宿主共用的平台服务合同,包含日志、
- Unity:安装 `com.cneicy.shrink-runtime-abstractions`。
- .NET/Godot:安装 `ShrinkSDK.Runtime.Abstractions`。
- NuGet 打包工程位于 `DotNet~/ShrinkSDK.Runtime.Abstractions.csproj`。
## 可复用能力
<!-- shrink:capabilities -->
Capability: 跨宿主日志、主线程派发、时钟、路径、截图与生命周期合同
Aliases: 平台 宿主 Unity Godot dotnet
Limits: 默认 InlineDispatcher 不提供 Unity 线程切换;线程语义由宿主实现
Extension: ShrinkRuntimeServices.Configure 与平台接口
Evidence: [ShrinkRuntimeServices](Runtime/ShrinkRuntimeServices.cs)
<!-- /shrink:capabilities -->
+5
View File
@@ -21,6 +21,11 @@ namespace ShrinkSDK.Runtime
bool TryPost(Action action);
}
public interface IShrinkDeferredMainThreadDispatcher
{
bool TryPostDeferred(Action action);
}
public interface IShrinkClock
{
DateTimeOffset UtcNow { get; }
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "com.cneicy.shrink-runtime-abstractions",
"version": "0.1.0",
"version": "0.2.0",
"displayName": "ShrinkSDK Runtime Abstractions",
"description": "Engine-neutral runtime services and CodeGen marker contracts.",
"unity": "2022.3"