기술 자료

Unity Engine

Unity Engine

PhysicsCallbacks.ContactCallbackTargets.ContactEndTarget

Contact end event target for callbacks.
읽는 시간 1분최근 업데이트: 24일 전

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsCallbacks.ContactCallbackTargets.ContactEndTarget

Properties

Property

Description

endEventThe event.
shapeTargetAThe callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.ContactEndEvent.shapeA. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target.
shapeTargetBThe callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.ContactEndEvent.shapeB. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target.