private static void Initialize() { NativeLeakDetection.s_NativeLeakDetectionMode = PlayerPrefs.EditorPrefsGetInt("Unity.Colletions.NativeLeakDetection.Mode", 2); bool flag = NativeLeakDetection.s_NativeLeakDetectionMode < 1 || NativeLeakDetection.s_NativeLeakDetectionMode > 3; if (flag) { NativeLeakDetection.s_NativeLeakDetectionMode = 2; } }