JointBreakAction2D
Options for selecting which action to take when a Joint2D breaks.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public enum JointBreakAction2D
Remarks
Fields
Value | Description |
|---|---|
| CallbackOnly | When the Joint2D breaks, call Joint2D.OnJointBreak2D(Joint2D) but take no other action. |
| Destroy | When the Joint2D breaks, call Joint2D.OnJointBreak2D(Joint2D) and then destroy the component. |
| Disable | When the Joint2D breaks, call Joint2D.OnJointBreak2D(Joint2D) and then disable the component. |
| Ignore | When the Joint2D breaks, no action will be taken and Joint2D.OnJointBreak2D(Joint2D) will not be called. |