Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShapeArray(ReadOnlySpan<Vector2>)

Construct with the specified vertices.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Constructor
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public ShapeArray(ReadOnlySpan<Vector2> vertices)

Parameters

The vertices to set.