Documentation

Unity Engine

Download Unity

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 a month ago

Definition

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