Skip to content

Commit 892fe5a

Browse files
authored
Merge pull request #1 from astro75/unity-2022.2
Fix for Unity 2022.2
2 parents 7bfb34f + 9979cb7 commit 892fe5a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Editor/Scripts/HeapExplorerWindow.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
using UnityEditor;
1010
using System;
1111
using System.Threading;
12+
#if UNITY_2022_2_OR_NEWER
13+
using Unity.Profiling.Memory;
14+
#else
1215
using UnityEngine.Profiling.Memory.Experimental;
16+
#endif
1317

1418
namespace HeapExplorer
1519
{

0 commit comments

Comments
 (0)