Documentation

Unity Engine

Download Unity

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 a month ago

Definition

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