Пример #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();
        }