文档

Unity Engine

Unity Engine

timeToSleep

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

Definition

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