文档

Unity Engine

Download Unity

Unity Engine

timeToSleep

The time in seconds that a rigid-body must be still before it will go to sleep.
阅读时间1 分钟最后更新于 2 个月前

Definition

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