Version: 2022.2

GeometryType

enumeration

切换到手册

描述

指定复合碰撞体生成的几何体的类型。

变量

OutlinesSets the Composite Collider 2D to generate closed outlines for the merged collider geometry consisting of only edges.
PolygonsSets the Composite Collider 2D to generate closed outlines for the merged collider geometry consisting of convex polygon shapes.