Exemple #1
0
 private static void ShowBuildAssetBundleWin()
 {
     S_BuildAssetBundleWindow         = EditorWindow.GetWindow <BuildAssetBundleWindow>("打包AssetBundle");
     S_BuildAssetBundleWindow.minSize = new Vector2(400, 400);
     S_BuildAssetBundleWindow.maxSize = new Vector2(400, 600);
     S_BuildAssetBundleWindow.Show();
     GetAllShowPaths();
 }
Exemple #2
0
        private static BuildAssetBundleWindow S_BuildAssetBundleWindow;                                          //打包的自定义窗口


        public static void BegingPackAssetBundle(BuildTarget target, BuildAssetBundleWindow editorWin)
        {
            CurrentBuildTarget       = target;
            S_BuildAssetBundleWindow = editorWin;
            PackAssetBundle();
        }