文档

Unity Engine

Unity Engine

CallbackOnly

When the Joint2D breaks, call OnJointBreak2D 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
OnJointBreak2D
callback to be called.