@
chore(ai): 移除死代码 Behavior Designer(BD_* + Opsive 包 + 宏) 敌人 AI 已迁到自研 BrainGraph,旧的 Opsive Behavior Designer 集成全线死亡: 无任何 prefab 挂 BehaviorTree,新系统也不引用 BD 任务。用户手动删除三个 com.opsive.* 包后,BD_* 文件(#if GRAPH_DESIGNER 下引用 Opsive 类型)导致 BaseGames.Enemies.AI 程序集编译失败——本提交清除死代码并恢复编译。 - 删除 ~50 个 BD_*.cs + BDTaskAttributes.cs + BaseGames.Enemies.AI.asmdef。 - 移除 Standalone 的 GRAPH_DESIGNER 脚本宏。 - 移除 com.opsive.behaviordesigner/shared/graphdesigner 嵌入包(用户已删目录)。 已扫描确认无其他程序集引用该 AI 程序集、无真实 Opsive/BD_ 类型引用 (仅注释/Tooltip 提及)。编译 0 错误。属敌人架构重构 P1(死代码清除)。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> @
This commit is contained in:
+11
-94
@@ -5,7 +5,7 @@
|
||||
"depth": 0,
|
||||
"source": "git",
|
||||
"dependencies": {},
|
||||
"hash": "fefec182a693f9bf5c33007f5a5096d8972a2e41"
|
||||
"hash": "55cd393fe53c4ed7ee9a38124b4d8e5f05f5a323"
|
||||
},
|
||||
"com.kybernetik.animancer": {
|
||||
"version": "file:com.kybernetik.animancer",
|
||||
@@ -15,31 +15,6 @@
|
||||
"com.unity.modules.animation": "1.0.0"
|
||||
}
|
||||
},
|
||||
"com.opsive.behaviordesigner": {
|
||||
"version": "file:com.opsive.behaviordesigner",
|
||||
"depth": 0,
|
||||
"source": "embedded",
|
||||
"dependencies": {
|
||||
"com.opsive.shared": "2.0.0",
|
||||
"com.opsive.graphdesigner": "2.0.0",
|
||||
"com.unity.burst": "1.8.17",
|
||||
"com.unity.entities": "1.3.8"
|
||||
}
|
||||
},
|
||||
"com.opsive.graphdesigner": {
|
||||
"version": "file:com.opsive.graphdesigner",
|
||||
"depth": 0,
|
||||
"source": "embedded",
|
||||
"dependencies": {
|
||||
"com.opsive.shared": "2.0.0"
|
||||
}
|
||||
},
|
||||
"com.opsive.shared": {
|
||||
"version": "file:com.opsive.shared",
|
||||
"depth": 0,
|
||||
"source": "embedded",
|
||||
"dependencies": {}
|
||||
},
|
||||
"com.unity.2d.animation": {
|
||||
"version": "9.2.0",
|
||||
"depth": 1,
|
||||
@@ -178,42 +153,18 @@
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.collections": {
|
||||
"version": "2.5.1",
|
||||
"version": "1.2.4",
|
||||
"depth": 2,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.burst": "1.8.17",
|
||||
"com.unity.nuget.mono-cecil": "1.11.4",
|
||||
"com.unity.test-framework": "1.4.5",
|
||||
"com.unity.test-framework.performance": "3.0.3"
|
||||
},
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.entities": {
|
||||
"version": "1.3.8",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.burst": "1.8.18",
|
||||
"com.unity.collections": "2.5.1",
|
||||
"com.unity.mathematics": "1.3.2",
|
||||
"com.unity.modules.audio": "1.0.0",
|
||||
"com.unity.serialization": "3.1.1",
|
||||
"com.unity.profiling.core": "1.0.2",
|
||||
"com.unity.modules.physics": "1.0.0",
|
||||
"com.unity.nuget.mono-cecil": "1.11.4",
|
||||
"com.unity.modules.uielements": "1.0.0",
|
||||
"com.unity.modules.assetbundle": "1.0.0",
|
||||
"com.unity.modules.unityanalytics": "1.0.0",
|
||||
"com.unity.modules.unitywebrequest": "1.0.0",
|
||||
"com.unity.scriptablebuildpipeline": "1.21.21",
|
||||
"com.unity.test-framework.performance": "3.0.3"
|
||||
"com.unity.burst": "1.6.6",
|
||||
"com.unity.test-framework": "1.1.31"
|
||||
},
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.ext.nunit": {
|
||||
"version": "2.0.3",
|
||||
"depth": 4,
|
||||
"version": "1.0.6",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.cn"
|
||||
@@ -261,15 +212,8 @@
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.mathematics": {
|
||||
"version": "1.3.2",
|
||||
"depth": 2,
|
||||
"source": "registry",
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.nuget.mono-cecil": {
|
||||
"version": "1.11.4",
|
||||
"depth": 2,
|
||||
"version": "1.2.6",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.cn"
|
||||
@@ -281,13 +225,6 @@
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.profiling.core": {
|
||||
"version": "1.0.2",
|
||||
"depth": 2,
|
||||
"source": "registry",
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.render-pipelines.core": {
|
||||
"version": "14.0.12",
|
||||
"depth": 1,
|
||||
@@ -333,16 +270,6 @@
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.serialization": {
|
||||
"version": "3.1.1",
|
||||
"depth": 2,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.collections": "2.1.4",
|
||||
"com.unity.burst": "1.7.2"
|
||||
},
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.settings-manager": {
|
||||
"version": "2.1.0",
|
||||
"depth": 2,
|
||||
@@ -371,26 +298,16 @@
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.test-framework": {
|
||||
"version": "1.4.5",
|
||||
"depth": 3,
|
||||
"version": "1.1.33",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.ext.nunit": "2.0.3",
|
||||
"com.unity.ext.nunit": "1.0.6",
|
||||
"com.unity.modules.imgui": "1.0.0",
|
||||
"com.unity.modules.jsonserialize": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.test-framework.performance": {
|
||||
"version": "3.0.3",
|
||||
"depth": 2,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.test-framework": "1.1.31",
|
||||
"com.unity.modules.jsonserialize": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.cn"
|
||||
},
|
||||
"com.unity.textmeshpro": {
|
||||
"version": "3.0.9",
|
||||
"depth": 0,
|
||||
|
||||
Reference in New Issue
Block a user