Legacy Documentation: Version 2017.2 (Go to current version)
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.

Did you find this page useful? Please give it a rating: