Version: 2022.3

UnsafeUtility.GetLeakDetectionMode

切换到手册
public static Unity.Collections.NativeLeakDetectionMode GetLeakDetectionMode ();

返回

NativeLeakDetectionMode The mode of leak detection.

描述

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