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

UnsafeUtility.SetLeakDetectionMode

Declaration

public static void SetLeakDetectionMode(Unity.Collections.NativeLeakDetectionMode value);

Parameters

value The mode of leak detection. 1 = disabled, 2 = enabled, or 3 = enabled with callstacks.

Description

Set the leak detection mode.