Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


timeToSleep

The time in seconds that a rigid-body must be still before it will go to sleep.
Read time 1 minuteLast updated 4 days ago

Definition

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