Inheritance: EditorWindow
示例#1
0
        public static void Init()
        {
            AssetUpdateWindow win = EditorWindow.GetWindow(typeof(AssetUpdateWindow)) as AssetUpdateWindow;

            win.titleContent = new GUIContent("Asset Updater");
            win.Show();
        }
示例#2
0
        public static void Init()
        {
            filePath = Application.dataPath + "/" + "Update.unitypackage";
            AssetUpdateWindow win = EditorWindow.GetWindow(typeof(AssetUpdateWindow)) as AssetUpdateWindow;

            win.titleContent = new GUIContent("Asset Updater");
            win.Show();
        }