Class EdgeCollider2D
Inherited Members
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public sealed class EdgeCollider2D : Collider2D
Properties
edgeCount
Declaration
public int edgeCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
edgeRadius
Declaration
public float edgeRadius { get; set; }
Property Value
Type | Description |
---|---|
Single |
pointCount
Declaration
public int pointCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
points
Declaration
public Vector2[] points { get; set; }
Property Value
Type | Description |
---|---|
Vector2[] |
Methods
Reset()
Declaration
public void Reset()