PhysicsCallbacks.ContactCallbackTargets.ContactBeginTarget
Contact begin event target for callbacks.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
- Implements: IEquatable<ContactBeginTarget>
public readonly struct PhysicsCallbacks.ContactCallbackTargets.ContactBeginTarget : IEquatable<PhysicsCallbacks.ContactCallbackTargets.ContactBeginTarget>
Properties
Property | Description |
|---|---|
| beginEvent | The event. |
| shapeTargetA | The callback target (_callbackTarget) associated with _shapeA. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target. |
| shapeTargetB | The callback target (_callbackTarget) associated with _shapeB. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target. |