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