PhysicsCallbacks.BodyUpdateCallbackTargets
Contains all the body update callback targets returned from PhysicsWorld.GetBodyUpdateCallbackTargets.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
- Implements: IDisposable, IEquatable<BodyUpdateCallbackTargets>
public readonly struct PhysicsCallbacks.BodyUpdateCallbackTargets : IDisposable, IEquatable<PhysicsCallbacks.BodyUpdateCallbackTargets>
Properties
Property | Description |
|---|---|
| bodyUpdateCallbackTargets | The body update targets. |
Methods
Method | Description |
|---|---|
| Dispose | Dispose of any allocated memory. This must be called if any targets are returned otherwise memory leaks will occur. |
Structs
Struct | Description |
|---|---|
| PhysicsCallbacks.BodyUpdateCallbackTargets.BodyUpdateTarget | Body update event target for callbacks. |