DestroyJointBatch(ReadOnlySpan<PhysicsJoint>)
Destroy a batch of joints. Any invalid joints will be ignored. Owned joints will produce a warning and will not be destroyed ( PhysicsJoint.SetOwner ).
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static void DestroyJointBatch(ReadOnlySpan<PhysicsJoint> joints)
Parameters
The joints to destroy.