soundvision/UnityProject/Assets/Editor/AppBuilder.cs
2019-07-13 20:24:19 +02:00

12 lines
340 B
C#

using UnityEditor;
public class AppBuilder
{
public static void Build()
{
string[] scenes = { "Assets/Scenes/MainScene.unity" };
var args = System.Environment.GetCommandLineArgs();
BuildPipeline.BuildPlayer(scenes, "../bin/soundvision.exe" , BuildTarget.StandaloneWindows64, BuildOptions.None);
}
}