Documentation

Unity Engine

Unity Engine

autoConfigureDistance

Should the distance be calculated automatically?
Read time 1 minuteLast updated a month ago

Definition

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

Remarks

When true, the
distance
property will be calculated automatically to match the distance between the
anchor
and
connectedAnchor
properties. When false, the distance can be configured using the
distance
property.