- ShrinkModComponentDiscovery.Discover 公开:只发现、不执行生命周期 - ShrinkModLoader.LoadComposed / ShrinkModCordisRuntime.ApplyComposedAsync:宿主提供元数据组合加载,支持纯数据包与 IShrinkModWrapper 公开真实实例 - 公开 TryAttachEventBusInstance,随生命周期逆操作释放 - 依赖新增 VersionRange(Maven/Forge 区间语法)与 Ordering(Before/After) - AssemblyResolvePolicy 可限制跨模组程序集解析
25 lines
548 B
Plaintext
25 lines
548 B
Plaintext
{
|
|
"name": "ShrinkModFramework.Tests",
|
|
"rootNamespace": "ShrinkModFramework.Tests",
|
|
"references": [
|
|
"ShrinkModFramework.Runtime",
|
|
"ShrinkEventBus.Runtime",
|
|
"ShrinkContext.Core.Runtime",
|
|
"UniTask",
|
|
"UnityEngine.TestRunner",
|
|
"UnityEditor.TestRunner"
|
|
],
|
|
"includePlatforms": [
|
|
"Editor"
|
|
],
|
|
"excludePlatforms": [],
|
|
"allowUnsafeCode": false,
|
|
"overrideReferences": false,
|
|
"autoReferenced": false,
|
|
"defineConstraints": [
|
|
"UNITY_INCLUDE_TESTS"
|
|
],
|
|
"versionDefines": [],
|
|
"noEngineReferences": false
|
|
}
|