PhysicsCallbacks.ContactCallbackTargets.ContactEndTarget
Contact end event target for callbacks.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public readonly struct PhysicsCallbacks.ContactCallbackTargets.ContactEndTarget
Properties
Property | Description |
|---|---|
| endEvent | The event. |
| shapeTargetA | The callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.ContactEndEvent.shapeA. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target. |
| 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. |