Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

PolygonCollider2D.points

Switch to Manual
public Vector2[] points;

Description

Corner points that define the collider's shape in local space.