ShrinkSDK

Public Unity SDK packages and workspace. yeah, almost AI slop. ;)

com.cneicy.shrink-shared-codegen (0.1.1)

Published 2026-09-05 03:43:56 +08:00 by cneicy

Installation

registry=https://git.crash.work/api/packages/ShrinkSDK/npm/
npm install com.cneicy.shrink-shared-codegen@0.1.1
"com.cneicy.shrink-shared-codegen": "0.1.1"

About this package

ShrinkApp、ShrinkCommand 与 ShrinkNetwork 共用的 Unity IL 后处理注册表生成器。

Shrink Shared CodeGen

Unity Editor UPM 包,为引用 ShrinkCommand.Runtime、ShrinkNetwork.Runtime 或 ShrinkApp.Core.Runtime 的程序集生成程序集级注册表。

该包只通过 Cecil 按程序集名和类型全名读取元数据,不在 asmdef 或 UPM 层反向引用业务包。因此 App、Command、Network 可以依赖它而不形成循环依赖。运行时不包含此包代码。

DotNet~ 包含同一 Cecil 织入核心、Roslyn Analyzer 和 ShrinkSDK.CodeGen MSBuild 包。Godot 或普通 .NET 项目引用 EventBus、Command、Network、App 等包后,会通过 buildTransitive 自动启用织入。

dotnet add package ShrinkSDK.CodeGen --version 0.1.0

Dependencies

Dependencies

ID Version
com.unity.nuget.mono-cecil 1.11.4

Keywords

codegen ilpp registry
Details
npm
2026-09-05 03:43:56 +08:00
3
cneicy
latest
12 KiB
Assets (1)
Versions (2) View all
0.1.1 2026-09-05
0.1.0 2026-08-26