Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DestroyBatch(ReadOnlySpan<PhysicsJoint>)

Destroy a batch of joints. Owned joints will produce a warning and will not be destroyed (see PhysicsJoint.SetOwner ). Any invalid joints will be ignored.
Read time 1 minuteLast updated 9 days ago

Definition

public static void DestroyBatch(ReadOnlySpan<PhysicsJoint> joints)

Parameters

The joints to destroy.