Create(Vector2, Vector2)
Create a Segment.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static SegmentGeometry Create(Vector2 point1, Vector2 point2)
Parameters
Returns
Type | Description |
|---|---|
| SegmentGeometry | The created geometry. |