文档

Unity Engine

Unity Engine

sleepingAllowed

The sleeping ability of the body. If false, the body will never sleep and will be woken up. See PhysicsBody.awake.
阅读时间1 分钟最后更新于 23 天前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public bool sleepingAllowed { get; set; }