Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bodyTimeToSleep

Get the time that a body must be still before it will go to sleep, in seconds. This value is 0.5 seconds.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static float bodyTimeToSleep { get; }