文档

Unity Engine

Unity Engine

Disable

When the Joint2D breaks, call Joint2D.OnJointBreak2D(Joint2D) and then disable the component.
阅读时间1 分钟最后更新于 1 个月前

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.