public static void BuildFileList() { FListMaker fm = new FListMaker(); selPath = "./"; fm.DoBuildFileList(); }
public static void PerformBuild() { FListMaker.BuildFileList(); string[] scenes = { "Assets/Scenes/Main.unity", "Assets/Scenes/Error.unity" }; //BuildPipeline.BuildPlayer(scenes,"win.exe",BuildTarget.StandaloneWindows,BuildOptions.None); //BuildPipeline.BuildPlayer(scenes,"osx.app",BuildTarget.StandaloneOSXUniversal,BuildOptions.None); BuildPipeline.BuildPlayer(scenes, "WebPlayer", BuildTarget.WebPlayerStreamed, BuildOptions.None); scenes = null; }
static void BuildFileList() { if (window == null) { window = (FListMaker)GetWindow(typeof(FListMaker)); } if (FListMaker.selPath == "") { FListMaker.selPath = Application.dataPath; } window.Show(); }