Legacy Documentation: Version 5.1
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 var points: Vector2[];

Description

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