private static void SetMemoryProfilerInfo(ObjectMemoryInfo[] memoryInfo, int[] referencedIndices) { foreach (ProfilerWindow window in m_ProfilerWindows) { if (window.wantsMemoryRefresh) { window.m_MemoryListView.SetRoot(MemoryElementDataManager.GetTreeRoot(memoryInfo, referencedIndices)); } } }