Documentation

Unity Engine


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 a month ago

Definition

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