diff --git a/DotNet~/ShrinkSDK.Runtime.Abstractions.csproj b/DotNet~/ShrinkSDK.Runtime.Abstractions.csproj index eb382d1..3de17dd 100644 --- a/DotNet~/ShrinkSDK.Runtime.Abstractions.csproj +++ b/DotNet~/ShrinkSDK.Runtime.Abstractions.csproj @@ -5,7 +5,7 @@ ShrinkRuntime.Abstractions ShrinkSDK.Runtime ShrinkSDK.Runtime.Abstractions - 0.1.0 + 0.2.0 Engine-neutral ShrinkSDK runtime contracts. diff --git a/Runtime/ShrinkRuntimeServices.cs b/Runtime/ShrinkRuntimeServices.cs index afcb260..91f241d 100644 --- a/Runtime/ShrinkRuntimeServices.cs +++ b/Runtime/ShrinkRuntimeServices.cs @@ -21,6 +21,11 @@ namespace ShrinkSDK.Runtime bool TryPost(Action action); } + public interface IShrinkDeferredMainThreadDispatcher + { + bool TryPostDeferred(Action action); + } + public interface IShrinkClock { DateTimeOffset UtcNow { get; } diff --git a/package.json b/package.json index 50f75d9..73592a4 100644 --- a/package.json +++ b/package.json @@ -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"