处理plug和线缆以及几个bug

This commit is contained in:
2025-05-30 15:13:06 +08:00
parent bdb514fc46
commit 73fd121052
10 changed files with 1152 additions and 829 deletions
@@ -62,6 +62,17 @@ 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