autoConfigureDistance
Should the distance be calculated automatically?
阅读时间1 分钟最后更新于 1 个月前
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.
Additional Resources: SpringJoint2D.distance, AnchoredJoint2D.anchor, AnchoredJoint2D.connectedAnchor.