Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsCallbacks.ContactCallbackTargets.ContactEndTarget

Contact end event target for callbacks.
Read time 1 minuteLast updated 11 days ago

Definition

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

Properties

Property

Description

endEventThe event.
shapeTargetAThe callback target (_callbackTarget) associated with _shapeA. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target.
shapeTargetBThe callback target (_callbackTarget) associated with _shapeB. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target.