Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


distance

The distance the spring will try to keep between the two objects.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float distance { get; set; }