Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Dispose()

Dispose of any allocated memory. This must be called if any targets are returned otherwise memory leaks will occur.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void Dispose()