Ejemplo n.º 1
0
 static void PerformWindowsUniversalBuild()
 {
     EditorUserBuildSettings.SwitchActiveBuildTarget(BuildTargetGroup.WSA, BuildTarget.WSAPlayer);
     EditorUserBuildSettings.SetWSADotNetNative(WSABuildType.Debug, true);
     EditorUserBuildSettings.wsaBuildAndRunDeployTarget = WSABuildAndRunDeployTarget.LocalMachineAndWindowsPhone;
     EditorUserBuildSettings.wsaSDK          = WSASDK.UWP;
     EditorUserBuildSettings.wsaSubtarget    = WSASubtarget.AnyDevice;
     EditorUserBuildSettings.wsaUWPBuildType = WSAUWPBuildType.XAML;
     EditorUserBuildSettings.wsaUWPSDK       = "10.0.10586.0";
     BuildPipeline.BuildPlayer(GetScenePaths(), "Builds/WindowsUniversal", BuildTarget.WSAPlayer, BuildOptions.None);
 }