Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsCallbacks.BodyUpdateCallbackTargets.BodyUpdateTarget

Body update event target for callbacks.
Read time 1 minuteLast updated 12 days ago

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.