You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Editor/Scripts/HeapExplorerWindow.cs
+36-48Lines changed: 36 additions & 48 deletions
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,13 @@
2
2
// Heap Explorer for Unity. Copyright (c) 2019-2020 Peter Schraut (www.console-dev.de). See LICENSE.md
3
3
// https://github.com/pschraut/UnityHeapExplorer/
4
4
//
5
+
#pragma warning disable 0414
5
6
usingSystem.Collections;
6
7
usingSystem.Collections.Generic;
7
8
usingUnityEngine;
8
9
usingUnityEditor;
9
10
usingSystem;
11
+
usingSystem.Threading;
10
12
11
13
namespaceHeapExplorer
12
14
{
@@ -36,7 +38,6 @@ public PackedMemorySnapshot snapshot
36
38
}
37
39
}
38
40
39
-
#pragma warning disable 0414
40
41
[NonSerialized]TestVariablesm_TestVariables=newTestVariables();// Allows me to easily check/test various types when capturing a snapshot in the editor.
41
42
[NonSerialized]boolm_IsCapturing;// Whether the tool is currently capturing a memory snapshot
@@ -57,9 +58,11 @@ public PackedMemorySnapshot snapshot
57
58
[NonSerialized]intm_BusyDraws;
58
59
[NonSerialized]List<Exception>m_Exceptions=newList<Exception>();// If exception occur in threaded jobs, these are collected and logged on the main thread
59
60
[NonSerialized]boolm_CloseDueToError;// If set to true, will close the editor during the next Update
61
+
[NonSerialized]doublem_LastRepaintTimestamp;// The EditorApplication.timeSinceStartup when a Repaint() was issued
0 commit comments