private static void OpenProjectBatch() { ProjectBatch cb = EditorWindow.GetWindow <ProjectBatch>(); cb.titleContent.text = "Project Batch"; cb.position = new Rect(200, 200, 300, 120); cb.Show(); }
private static void OpenProjectBatch() { ProjectBatch pb = EditorWindow.GetWindow <ProjectBatch>(); pb.titleContent.image = EditorGUIUtility.IconContent("d_editicon.sml").image; pb.titleContent.text = "Project Batch"; pb.position = new Rect(200, 200, 300, 140); pb.Show(); }