Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetTotalPointCount()

Return the total number of points in the polygon in all paths.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public int GetTotalPointCount()

Returns

Type

Description

int

Remarks

Additional Resources: PolygonCollider2D.points.