fix: 插孔问题修复
This commit is contained in:
@@ -101,7 +101,7 @@ namespace AibisDream.FixSystem
|
||||
if (_isInserting) return;
|
||||
_isInserting = true;
|
||||
|
||||
cablePanel.ClearDragHighlight();
|
||||
cablePanel.ClearDragHighlight(targetSocket as BodyModule);
|
||||
ClearFeedbackOffset();
|
||||
|
||||
var targetPos = targetSocket.GetSocketPos().position;
|
||||
|
||||
@@ -308,10 +308,10 @@ namespace AibisDream.FixSystem
|
||||
physicCableRef.SetPointer(pointerWorldPos);
|
||||
}
|
||||
|
||||
/// <summary>结束拖拽:关闭所有插孔盖。</summary>
|
||||
public void ClearDragHighlight()
|
||||
/// <summary>结束拖拽:关闭除指定保留模块外的插孔盖;不指定时全部关闭。</summary>
|
||||
public void ClearDragHighlight(BodyModule preservedModule = null)
|
||||
{
|
||||
BodyModuleSystem?.CloseModuleSlots(null);
|
||||
BodyModuleSystem?.CloseModuleSlots(preservedModule);
|
||||
}
|
||||
|
||||
/// <summary>松手且未插中插孔:解除钉住,线缆自动回收,插头挂回绳末端。</summary>
|
||||
|
||||
Reference in New Issue
Block a user