文档

Unity Engine

Unity Engine

CallbackOnly

When the Joint2D breaks, call Joint2D.OnJointBreak2D(Joint2D) but take no other action.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
CallbackOnly = 1

Remarks

NOTE: With this option selected, continuing to break the joint will continue to cause the Joint2D.OnJointBreak2D(Joint2D) callback to be called.