static public ThreadSelectionWindow Open(float screenX, float screenY, ProfileAnalyzerWindow profileAnalyzerWindow, ThreadSelection threadSelection, List <string> threadNames, List <string> threadUINames) { ThreadSelectionWindow window = GetWindow <ThreadSelectionWindow>("Threads"); window.position = new Rect(screenX, screenY, 400, 500); window.SetData(profileAnalyzerWindow, threadSelection, threadNames, threadUINames); window.Show(); return(window); }
static public void CloseAll() { ThreadSelectionWindow window = GetWindow <ThreadSelectionWindow>("Threads"); window.Close(); }