Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


shapeTargetB

The callback target ( PhysicsShape.callbackTarget ) associated with PhysicsEvents.ContactEndEvent.shapeB. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsCallbacks.IContactCallback shapeTargetB { get; }