refactor: 优化 BodyModule 身体模块系统
Made-with: Cursor
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user