private static void BuildAndroidRelease() { string[] scenes = GetBuildScenes(); string path = GetBuildPathAndroid(); if (scenes == null || scenes.Length == 0 || path == null) { return; } SetupAndroid(); AssetBundleTool.BuildAssetBundleNormal(); AssetDatabase.Refresh(); DefineTool.SetDefineSymbolDevelop(); BuildPipeline.BuildPlayer(scenes, path, BuildTarget.Android, BuildOptions.None); }
private void Analyzebutton_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(this.FolderTextBox.Text)) { MessageBox.Show("请指定文件夹"); return; } if (string.IsNullOrEmpty(this.CoordinateTextBox.Text)) { MessageBox.Show("请指定坐标系文件"); return; } this.Analyzebutton.Enabled = false; var tool = new DefineTool() { Folder = this.FolderTextBox.Text, CoordinateFile = this.CoordinateTextBox.Text }; tool.Work(); this.Analyzebutton.Enabled = true; MessageBox.Show("Finish"); }