PhysicsCallbacks.ContactCallbackTargets.ContactBeginTarget
Contact begin event target for callbacks.
Read time 1 minuteLast updated 16 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public readonly struct PhysicsCallbacks.ContactCallbackTargets.ContactBeginTarget
Properties
Property | Description |
|---|---|
| beginEvent | The event. |
| shapeTargetA | The callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.ContactBeginEvent.shapeA. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target. |
| shapeTargetB | The callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.ContactBeginEvent.shapeB. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target. |