Version: 2022.3

JointBreakAction2D

enumeration

切换到手册

描述

Options for selecting which action to take when a Joint2D breaks.

变量

IgnoreWhen the Joint2D breaks, no action will be taken and Joint2D.OnJointBreak2D will not be called.
CallbackOnlyWhen the Joint2D breaks, call Joint2D.OnJointBreak2D but take no other action.
DisableWhen the Joint2D breaks, call Joint2D.OnJointBreak2D and then disable the component.
DestroyWhen the Joint2D breaks, call Joint2D.OnJointBreak2D and then destroy the component.

Did you find this page useful? Please give it a rating: