|
|
@@ -1,4 +1,4 @@
|
|
|
-using System;
|
|
|
+using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.IO;
|
|
|
using System.Reflection;
|
|
|
@@ -41,6 +41,46 @@ namespace Pack
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ public override void BuildOnlyLua()
|
|
|
+ {
|
|
|
+ base.BuildOnlyLua();
|
|
|
+ try
|
|
|
+ {
|
|
|
+ BuildClear();
|
|
|
+ AssetDatabase.Refresh();
|
|
|
+ ChangeBuildTarget();
|
|
|
+ ChangeLuaConfig();
|
|
|
+ //ChangeGameAssets();
|
|
|
+ //ChangeLogin();
|
|
|
+ //ChangeLogo();
|
|
|
+ //CheckAppInfo();
|
|
|
+ //ChangeAppIcon();
|
|
|
+ //ChangeSplashScreen();
|
|
|
+ //ChangePlatformSpecial();
|
|
|
+ //ChangePlayerSettings();
|
|
|
+ EditorUtility.ClearProgressBar();
|
|
|
+ AssetDatabase.Refresh();
|
|
|
+ AssetDatabase.SaveAssets();
|
|
|
+ ChangeAssetsObscure();
|
|
|
+ AssetBundleMap.BuildLuaAssetBundles(resVersionCode);
|
|
|
+ if (Application.isBatchMode)
|
|
|
+ {
|
|
|
+ PackLog.Log(PackConstant.TAG_ResOutPath + BundleBuilderZ.GetAssetbundlesPath());
|
|
|
+ }
|
|
|
+ if (Application.isBatchMode)
|
|
|
+ {
|
|
|
+ string outPath = GetBuildOutputPath();
|
|
|
+ PackLog.Log(PackConstant.TAG_AppOutPath + outPath);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (Exception e)
|
|
|
+ {
|
|
|
+ EditorUtility.ClearProgressBar();
|
|
|
+ PackLog.LogException(e);
|
|
|
+ throw e;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
public override void BuildAssetBundles()
|
|
|
{
|
|
|
base.BuildAssetBundles();
|