refactor(fix-system): 重构维修侧边栏面板架构并整合方块拼图
Made-with: Cursor
This commit is contained in:
@@ -38,13 +38,10 @@ namespace AibisDream.FixSystem
|
||||
|
||||
#endregion
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
InitComponentRefs();
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
InitComponentRefs();
|
||||
|
||||
InitSystem();
|
||||
LoadCableState();
|
||||
}
|
||||
@@ -69,7 +66,7 @@ namespace AibisDream.FixSystem
|
||||
CableRootPos = CableReelRef.transform.Find("Cable Root Pos").transform;
|
||||
PhysicCableRef = transform.Find("PhysicCable").GetComponent<PhysicCable>();
|
||||
|
||||
BodyModuleSystem = transform.parent.GetComponent<BodyModuleSystem>();
|
||||
BodyModuleSystem = FixSystemCenter.SystemDic.Get<BodyModuleSystem>();
|
||||
}
|
||||
|
||||
private void InitSystem()
|
||||
|
||||
Reference in New Issue
Block a user