标签: c# unity3d
我想使用C#添加一个多边形对撞机,如this link所示。
我应该怎么做?
答案 0 :(得分:0)
您应该使用PolygonCollider2D.SetPath,您可以在其中设置定义多边形轮廓的点。