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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961