Documentation

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.
Read time 1 minuteLast updated 16 days ago

Definition

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