ドキュメント

Unity Engine

Unity Engine

JointBreakAction2D

Options for selecting which action to take when a Joint2D breaks.
読み終わるまでの所要時間 1 分最終更新 20日前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public enum JointBreakAction2D

Remarks

Fields

Value

Description

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