Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


segmentCount

Get the number of Chain segments that this chain has created and owns. See PhysicsShape.ShapeType.ChainSegment.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public int segmentCount { get; }