コード例 #1
0
        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);
        }
コード例 #2
0
        static public void CloseAll()
        {
            ThreadSelectionWindow window = GetWindow <ThreadSelectionWindow>("Threads");

            window.Close();
        }