soundvision/UnityProject/Assets/Editor/AppBuilder.cs

13 lines
340 B
C#
Raw Normal View History

2019-07-13 18:24:19 +00:00
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);
}
}