|
@@ -113,24 +113,27 @@ namespace ET
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- BuildModelAndHotfix(this.codeOptimization);
|
|
|
- CopyHotfixdllToHybridDir();
|
|
|
- LinkGeneratorCommand.GenerateLinkXml(EditorUserBuildSettings.activeBuildTarget);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
BuildHelper.Build(this.platformType, this.buildAssetBundleOptions, this.buildOptions, this.isBuildExe, this.isContainAB, this.clearFolder);
|
|
|
}
|
|
|
|
|
|
GUILayout.Label("");
|
|
|
GUILayout.Label("Build & copy AOTMetadlls");
|
|
|
- if (GUILayout.Button("BuildAOTDlls & copy "))
|
|
|
+ if (GUILayout.Button("Hybrid-GenerateAll & copy2CodeDll"))
|
|
|
{
|
|
|
BuildTarget target = EditorUserBuildSettings.activeBuildTarget;
|
|
|
CompileDllCommand.CompileDll(target);
|
|
|
+
|
|
|
+ BuildModelAndHotfix(this.codeOptimization);
|
|
|
CopyHotfixdllToHybridDir();
|
|
|
|
|
|
+
|
|
|
Il2CppDefGeneratorCommand.GenerateIl2CppDef();
|
|
|
|
|
|
-
|
|
|
+ LinkGeneratorCommand.GenerateLinkXml(target);
|
|
|
|
|
|
StripAOTDllCommand.GenerateStripedAOTDlls(target, EditorUserBuildSettings.selectedBuildTargetGroup);
|
|
|
|
|
@@ -183,12 +186,6 @@ namespace ET
|
|
|
{
|
|
|
|
|
|
ToolsEditor.ExcelExporter();
|
|
|
-
|
|
|
-
|
|
|
- AssetImporter assetImporter = AssetImporter.GetAtPath($"Assets/Bundles/Config");
|
|
|
- assetImporter.assetBundleName = "Config.unity3d";
|
|
|
- AssetDatabase.SaveAssets();
|
|
|
- AssetDatabase.Refresh();
|
|
|
}
|
|
|
|
|
|
if (GUILayout.Button("Proto2CS"))
|