2 Commits
Author SHA1 Message Date
cneicy a87e4dca32 feat: update Godot integration and coordinated package dependencies
Publish UPM package / publish (push) Successful in 3s
Publish NuGet packages / publish (push) Failing after 47s
2026-11-06 19:13:23 +08:00
cneicy 51c941a017 docs: describe reusable tutorial capabilities 2026-09-29 10:14:49 +08:00
4 changed files with 16 additions and 6 deletions

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@
<AssemblyName>ShrinkTutorial.Runtime</AssemblyName> <AssemblyName>ShrinkTutorial.Runtime</AssemblyName>
<RootNamespace>ShrinkTutorial</RootNamespace> <RootNamespace>ShrinkTutorial</RootNamespace>
<PackageId>ShrinkSDK.Tutorial</PackageId> <PackageId>ShrinkSDK.Tutorial</PackageId>
<Version>0.2.0</Version> <Version>0.2.1</Version>
<Description>Engine-neutral ShrinkSDK tutorial state and step runtime.</Description> <Description>Engine-neutral ShrinkSDK tutorial state and step runtime.</Description>
<Nullable>disable</Nullable> <Nullable>disable</Nullable>
</PropertyGroup> </PropertyGroup>
@@ -14,6 +14,6 @@
<Compile Include="..\Runtime\Core\ShrinkTutorialEnums.cs" /> <Compile Include="..\Runtime\Core\ShrinkTutorialEnums.cs" />
<Compile Include="..\Runtime\Core\ShrinkTutorialLocalization.cs" /> <Compile Include="..\Runtime\Core\ShrinkTutorialLocalization.cs" />
<Compile Include="..\Runtime\Storage\IShrinkTutorialStorage.cs" /> <Compile Include="..\Runtime\Storage\IShrinkTutorialStorage.cs" />
<PackageReference Include="ShrinkSDK.Runtime.Abstractions" Version="0.1.0" /> <PackageReference Include="ShrinkSDK.Runtime.Abstractions" Version="0.2.0" />
</ItemGroup> </ItemGroup>
</Project> </Project>
+2 -2
View File
@@ -4,12 +4,12 @@
<AssemblyName>ShrinkTutorial.Godot</AssemblyName> <AssemblyName>ShrinkTutorial.Godot</AssemblyName>
<RootNamespace>ShrinkTutorial.Godot</RootNamespace> <RootNamespace>ShrinkTutorial.Godot</RootNamespace>
<PackageId>ShrinkSDK.Tutorial.Godot</PackageId> <PackageId>ShrinkSDK.Tutorial.Godot</PackageId>
<Version>0.1.0</Version> <Version>0.1.1</Version>
<Description>Godot Control overlay and Resources for ShrinkSDK Tutorial.</Description> <Description>Godot Control overlay and Resources for ShrinkSDK Tutorial.</Description>
<ShrinkCodeGenEnabled>false</ShrinkCodeGenEnabled> <ShrinkCodeGenEnabled>false</ShrinkCodeGenEnabled>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="GodotSharp" Version="4.6.3" /> <PackageReference Include="GodotSharp" Version="4.7.2" />
<ProjectReference Include="..\DotNet~\ShrinkSDK.Tutorial.csproj" /> <ProjectReference Include="..\DotNet~\ShrinkSDK.Tutorial.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>
+11 -1
View File
@@ -2,7 +2,7 @@
一个面向 Unity 2022.3+ 的互动式引导系统,重点解决这几件事: 一个面向 Unity 2022.3+ 的互动式引导系统,重点解决这几件事:
共享教程状态与步骤运行时位于 `DotNet~`;Godot 4.6 的 `Resource`、`Control` 遮罩和输入适配位于 `Godot~`。Godot 项目安装 `ShrinkSDK.Tutorial.Godot`。 共享教程状态与步骤运行时位于 `DotNet~`;Godot 4.7 的 `Resource`、`Control` 遮罩和输入适配位于 `Godot~`。Godot 项目安装 `ShrinkSDK.Tutorial.Godot`。
- 通过真实点击完成步骤,而不是纯文案翻页。 - 通过真实点击完成步骤,而不是纯文案翻页。
- 支持静态路径目标和动态锚点目标。 - 支持静态路径目标和动态锚点目标。
@@ -121,3 +121,13 @@ ShrinkTutorialLocalization.Provider = new MyTutorialLocalizer();
- 如果目标是动态对象,优先检查 `ShrinkTutorialAnchorRegistry` 是否已注册该 `anchorId`。 - 如果目标是动态对象,优先检查 `ShrinkTutorialAnchorRegistry` 是否已注册该 `anchorId`。
- 如果步骤目标当前还没显示出来,不要把它视为异常;`Path` 目标在 `activeInHierarchy == false` 时现在会继续等待,而不是提前显示到隐藏控件上。 - 如果步骤目标当前还没显示出来,不要把它视为异常;`Path` 目标在 `activeInHierarchy == false` 时现在会继续等待,而不是提前显示到隐藏控件上。
- 如果步骤走 `CustomEvent`,确认业务代码在真正完成后再调用 `CompleteStep(...)`。 - 如果步骤走 `CustomEvent`,确认业务代码在真正完成后再调用 `CompleteStep(...)`。
## 可复用能力
<!-- shrink:capabilities -->
Capability: 配置教程步骤、目标锚点、交互遮罩和完成持久化
Aliases: 引导 教程 新手 tutorial
Limits: 新的交互行为需扩展步骤/适配;Unity 对象归主线程
Extension: 教程数据、步骤与 AnchorId
Evidence: [ShrinkTutorialManager](Runtime/Core/ShrinkTutorialManager.cs)
<!-- /shrink:capabilities -->
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "com.cneicy.shrink-tutorial", "name": "com.cneicy.shrink-tutorial",
"version": "0.2.0", "version": "0.2.1",
"displayName": "ShrinkTutorial", "displayName": "ShrinkTutorial",
"description": "面向 Unity 的互动式新手引导系统,提供数据驱动教程、遮罩挖洞、动态锚点、步骤条件与运行时调度。", "description": "面向 Unity 的互动式新手引导系统,提供数据驱动教程、遮罩挖洞、动态锚点、步骤条件与运行时调度。",
"unity": "2022.3", "unity": "2022.3",