文档

Unity Engine

Unity Engine

sleepingAllowed

Controls if bodies go to sleep when not moving and not interacting. Sleeping can provide a significant performance improvement when many Dynamic or Kinematic bodies are in the world. See PhysicsWorld.sleepingAllowed
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool sleepingAllowed { readonly get; set; }