feat(Connect): 实现在场景中提前布置连线,游戏开始后自动连接的功能

This commit is contained in:
2025-10-20 11:02:10 +08:00
parent ec905d2a27
commit bb2c5aa436
3 changed files with 144 additions and 4 deletions

View File

@@ -121,8 +121,7 @@ namespace Script.Gameplay.Player
}
// 创建连接线
ConnectionLine connectionLine = ConnectionLineManager.Instance.GenerateConnectionLine(outTarget, inputTarget);
outTarget.OutputConnectionLine = connectionLine;
inputTarget.InputConnectionLine = connectionLine;
// 重置信号目标
outTarget = null;
inputTarget = null;