static void Init() { SketchfabImporterWindow window = (SketchfabImporterWindow)EditorWindow.GetWindow(typeof(SketchfabImporterWindow)); window.titleContent.text = "Importer"; window.Show(true); }
static void Init() { SketchfabImporterWindow window = (SketchfabImporterWindow)EditorWindow.GetWindow(typeof(SketchfabImporterWindow)); window.titleContent.text = "Importer"; window.titleContent.image = Resources.Load <Texture>("icon"); window.titleContent.image.filterMode = FilterMode.Bilinear; window.Show(true); }