Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


enabled

The enabled state of the body. If false, the body and anything attached to it will not participate in the simulation.
Read time 1 minuteLast updated 10 days ago

Definition

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