fix(fixsystem): BodyModule 层级适配 Scalehandler
Made-with: Cursor
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user