Version: 2022.1

UnsafeUtility.SetLeakDetectionMode

切换到手册
public static void SetLeakDetectionMode (Unity.Collections.NativeLeakDetectionMode value);

参数

value The mode of leak detection.

描述

Sets whether leak detection is 1=disabled, 2=enabled, or 3=enabled with callstacks.