Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Disable

When the Joint2D breaks, call Joint2D.OnJointBreak2D(Joint2D) and then disable the component.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
Disable = 2

Remarks

When the joint is disable, no further joint breaking can occur until the joint is enabled again.