Scripting API

EdgeCollider2D

class in UnityEngine · UnityEngine.Physics2DModule · inherits from Collider2D

12 of 12 of Unity's membersUnity's documentation
In Tassix

An open chain of edges, solid from both sides.

Properties 8

Vector2 adjacentEndPoint { get; set; }
Vector2 adjacentStartPoint { get; set; }
int edgeCount { get; }
float edgeRadius { get; set; }
int pointCount { get; }
Vector2[] points { get; set; }
bool useAdjacentEndPoint { get; set; }
bool useAdjacentStartPoint { get; set; }

Methods 3

int GetPoints(List<Vector2> points)
void Reset()
bool SetPoints(List<Vector2> points)