private static void OpenComponentBatch() { ComponentBatch cb = EditorWindow.GetWindow <ComponentBatch>(); cb.titleContent.text = "Component Batch"; cb.position = new Rect(200, 200, 300, 140); cb.Show(); }
private static void OpenComponentBatch() { ComponentBatch cb = EditorWindow.GetWindow <ComponentBatch>(); cb.titleContent.image = EditorGUIUtility.IconContent("d_editicon.sml").image; cb.titleContent.text = "Component Batch"; cb.position = new Rect(200, 200, 300, 160); cb.Show(); }