Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

UnsafeUtility.ForgiveLeaks

Declaration

public static int ForgiveLeaks();

Returns

int The number of leaks forgiven.

Description

Tells the leak checking system to ignore any memory allocations made up to that point.