文档

Unity Engine

Unity Engine

PhysicsCallbacks.BodyUpdateCallbackTargets.BodyUpdateTarget

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

Definition

public readonly struct PhysicsCallbacks.BodyUpdateCallbackTargets.BodyUpdateTarget

Properties

Property

Description

bodyTargetThe callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.BodyUpdateEvent. This returns any implemented PhysicsCallbacks.IBodyUpdateCallback or NULL if not implemented or no target.
bodyUpdateEventThe event.