コード例 #1
0
        static public ProfileAnalyzerExportWindow Open(float screenX, float screenY, ProfileDataView profileSingleView, ProfileDataView profileLeftView, ProfileDataView profileRightView)
        {
            ProfileAnalyzerExportWindow window = GetWindow <ProfileAnalyzerExportWindow>("Export");

            window.minSize  = new Vector2(200, 140);
            window.position = new Rect(screenX, screenY, 200, 140);
            window.SetData(profileSingleView, profileLeftView, profileRightView);
            window.Show();

            return(window);
        }
コード例 #2
0
        static public void CloseAll()
        {
            ProfileAnalyzerExportWindow window = GetWindow <ProfileAnalyzerExportWindow>("Export");

            window.Close();
        }