This commit is contained in:
2025-06-14 21:50:00 +08:00
parent bb59a8f4ac
commit cde651f0ff
9 changed files with 2085 additions and 1397 deletions
@@ -68,17 +68,6 @@ namespace AibisDream.FixSystem
heatMapController = transform.Find("HeatMapController").GetComponent<HeatMapController>();
}
// 初始化 BodyModules 列表
BodyModules = new List<BodyModule>();
if (_bodyModuleGroup != null)
{
BodyModules.AddRange(_bodyModuleGroup.GetComponentsInChildren<BodyModule>());
}
if (_headModuleGroup != null)
{
BodyModules.AddRange(_headModuleGroup.GetComponentsInChildren<BodyModule>());
}
FixSystemCenter.SystemDic.Register(this);
// 注册Camera
@@ -118,7 +107,7 @@ namespace AibisDream.FixSystem
{
continue; // 跳过不可用的模块
}
float tempDistance = Vector3.Distance(sourcePos, bodyModule.GetSocketPos());
if (tempDistance < closestDistance)