pathCount
The number of paths in the polygon.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public int pathCount { get; set; }
Remarks
A path is cyclic sequence of line segments between points that define the outline of the polygon. Because the polygon can have holes and discontinuous parts, its shape is not necessarily defined by a single path.
Additional Resources: PolygonCollider2D.GetPath, PolygonCollider2D.SetPath.