Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useAdjacentEnd

When the value is true, then the shape will use the adjacentEnd feature. When the value is false, then the shape will not use the adjacentEnd feature.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool useAdjacentEnd { get; set; }

Remarks

This property is identical to EdgeCollider2D.useAdjacentEndPoint.
NOTE: This property is only used when the shapeType is PhysicsShapeType2D.Edges.