如何在 Unity 的网格中执行布尔运算?

How to perform Boolean operations in mesh in Unity?

我有 Cube 型号和 Cylinder 型号。我想在 CylinderCube 里面打个洞,我该怎么做?

我有这两个型号:

我想做这个:

这是网格上的布尔运算

使用 this 线程了解更多信息。

这里是来自 GitHub. Which was previously used a lot, still can be used. Want to know more, use this 线程的存储库。

如果您遇到麻烦,这里有 repo。我用过