Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PolygonCollider2D.GetTotalPointCount

Switch to Manual
public int GetTotalPointCount();

Description

Return the total number of points in the polygon in all paths.

See Also: points.