コード例 #1
0
 public static void BuildAndroid()
 {
     BuildMechine.NewPipeline()
     .AddActions(new BuildAction_Print("Start Build Mechine"))
     .AddActions(new BuildAction_ActiveBuildTargetChanged(BuildTarget.Android))
     .AddActions(new BuildAction_IncreaseBuildNum())
     .AddActions(new BuildAction_SaveAndRefresh())
     .AddActions(new BuildAction_SetBundleId("cn.test.test"))
     .AddActions(new BuildAction_BuildProjectAndroid("game", "Build/Android/"))
     .Run();
 }
コード例 #2
0
 public static void BuildWindowsStandalone()
 {
     BuildMechine.NewPipeline()
     .AddActions(new BuildAction_Print("Start Build Mechine"))
     .AddActions(new BuildAction_ActiveBuildTargetChanged(BuildTarget.StandaloneWindows))
     .AddActions(new BuildAction_IncreaseBuildNum())
     .AddActions(new BuildAction_SaveAndRefresh())
     .AddActions(new BuildAction_SetBundleId("cn.test.test"))
     .AddActions(new BuildAction_BuildProjectWindowsStandalone("game", "exe", "Build/Windows/", x64: false))
     .Run();
 }