예제 #1
0
        static void Init()
        {
            SketchfabBrowser window = (SketchfabBrowser)EditorWindow.GetWindow(typeof(SketchfabBrowser));

            window.titleContent.text = "AssetBrowser";
            window.Show();
        }
예제 #2
0
        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();
        }