fix(fixsystem): BodyModule 层级适配 Scalehandler

Made-with: Cursor
This commit is contained in:
2026-02-27 20:57:54 +08:00
parent e967c09782
commit f5a0f852d2
2 changed files with 2 additions and 2 deletions
@@ -61,7 +61,7 @@ namespace AibisDream.FixSystem
// 处理内部索引
_bodyModuleGroup = transform.Find("Body Module Group")?.gameObject;
_headModuleGroup = transform.Find("Head Module Group")?.gameObject;
_headModuleGroup = transform.Find("Scalehandler")?.transform.Find("Head Module Group")?.gameObject;
CableSystem = transform.Find("Cable System").GetComponent<CableSystem>();
if (transform.Find("HeatMapController"))
{
@@ -59,7 +59,7 @@ namespace AibisDream.FixSystem
_socketLeft = _socketPos.Find("Left");
_socketRight = _socketPos.Find("Right");
_bodyModuleSystem = transform.parent.parent.GetComponent<BodyModuleSystem>();
_bodyModuleSystem = transform.parent.parent.parent.GetComponent<BodyModuleSystem>();
if (targetSpriteRenderer == null)
{