采音接口

This commit is contained in:
2025-06-09 12:42:23 +08:00
parent fc53c2437a
commit 1837d5ead0
7 changed files with 281 additions and 152 deletions

View File

@@ -250,7 +250,10 @@ 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();
}
}
}

View File

@@ -113,6 +113,7 @@ namespace Ichni.Editor
}
gameElement.Delete();
EditorManager.instance.uiManager.inspector.ClearInspector();
}
/// <summary>