GetTotalPointCount()
Return the total number of points in the polygon in all paths.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public int GetTotalPointCount()
Returns
Type | Description |
|---|---|
| int |
Remarks
Additional Resources: PolygonCollider2D.points.