Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsCallbacks.ContactCallbackTargets.ContactBeginTarget

Contact begin event target for callbacks.
Read time 1 minuteLast updated 13 days ago

Definition

public readonly struct PhysicsCallbacks.ContactCallbackTargets.ContactBeginTarget : IEquatable<PhysicsCallbacks.ContactCallbackTargets.ContactBeginTarget>

Properties

Property

Description

beginEventThe 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.