Ejemplo n.º 1
0
    public static void BuildFileList()
    {
        FListMaker fm = new FListMaker();

        selPath = "./";
        fm.DoBuildFileList();
    }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 static void BuildFileList()
 {
     if (window == null)
     {
         window = (FListMaker)GetWindow(typeof(FListMaker));
     }
     if (FListMaker.selPath == "")
     {
         FListMaker.selPath = Application.dataPath;
     }
     window.Show();
 }