This commit is contained in:
SoulliesOfficial
2025-06-21 09:17:14 -04:00
parent 0388e2080e
commit 40cf715cc0
4 changed files with 564 additions and 77 deletions

View File

@@ -250,10 +250,7 @@ namespace Ichni.Editor
if (Physics.Raycast(ray, out RaycastHit hit, float.MaxValue, LayerMask.GetMask("Selectable")))
{
SelectionConnector connector = hit.collider.GetComponent<SelectionConnector>();//TODO: 对于Hold这种复杂的元素需要使用连接脚本进行获取
(connector.
connectedGameElement as IHaveSelectSubmodule)
?.selectSubmodule
.SelectGameElement();
(connector.connectedGameElement as IHaveSelectSubmodule)?.selectSubmodule.SelectGameElement();
}
}
}