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