文档

Unity Engine

Unity Engine

PhysicsCallbacks.ContactCallbackTargets.ContactBeginTarget

Contact begin event target for callbacks.
阅读时间1 分钟最后更新于 1 个月前

Definition

public readonly struct PhysicsCallbacks.ContactCallbackTargets.ContactBeginTarget

Properties

Property

Description

beginEventThe event.
shapeTargetAThe callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.ContactBeginEvent.shapeA. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target.
shapeTargetBThe callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.ContactBeginEvent.shapeB. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target.