Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsCallbacks.BodyUpdateCallbackTargets

Contains all the body update callback targets returned from PhysicsWorld.GetBodyUpdateCallbackTargets.
Read time 1 minuteLast updated 14 days ago

Definition

public readonly struct PhysicsCallbacks.BodyUpdateCallbackTargets : IDisposable, IEquatable<PhysicsCallbacks.BodyUpdateCallbackTargets>

Properties

Property

Description

bodyUpdateCallbackTargetsThe body update targets.

Methods

Method

Description

DisposeDispose of any allocated memory. This must be called if any targets are returned otherwise memory leaks will occur.

Structs

Struct

Description

PhysicsCallbacks.BodyUpdateCallbackTargets.BodyUpdateTargetBody update event target for callbacks.