refactor: 优化 BodyModule 身体模块系统

Made-with: Cursor
This commit is contained in:
2026-03-03 21:45:09 +08:00
parent 9d5fccf39d
commit fa0672445b
8 changed files with 80 additions and 208 deletions
@@ -1,4 +1,4 @@
using UnityEngine;
using UnityEngine;
namespace AibisDream.FixSystem
{
@@ -6,7 +6,7 @@ namespace AibisDream.FixSystem
{
public void PlugIn();
public void PlugOut();
public Vector3 GetSocketPos();
public Transform GetSocketPos();
public bool IsAvailable(); // 新增方法
}
@@ -24,9 +24,9 @@ namespace AibisDream.FixSystem
Debug.Log("Plug Out InitSocket");
}
public Vector3 GetSocketPos()
public Transform GetSocketPos()
{
return transform.position;
return transform;
}
public bool IsAvailable()