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); }
static public void CloseAll() { ProfileAnalyzerExportWindow window = GetWindow <ProfileAnalyzerExportWindow>("Export"); window.Close(); }