Hi,
My project needs to be released for the same platform in two different ways. To be more specific, I have a Windows release for both VR and Not-VR.
[MenuItem("File/AutoBuilder/Windows(Client)")]
public static void PerformWinClientBuild () {
PlayerSettings.virtualRealitySupported = false;
EditorUserBuildSettings.SwitchActiveBuildTarget(BuildTarget.StandaloneWindows64);
BuildPipeline.BuildPlayer(GetClientScenePaths(), "Builds/Client.exe", BuildTarget.StandaloneWindows64, BuildOptions.None);
}
[MenuItem("File/AutoBuilder/Windows(Server)")]
public static void PerformWinServerBuild () {
PlayerSettings.virtualRealitySupported = true;
EditorUserBuildSettings.SwitchActiveBuildTarget(BuildTarget.StandaloneWindows64);
BuildPipeline.BuildPlayer(GetServerScenePaths(), "Builds/Server.exe", BuildTarget.StandaloneWindows64, BuildOptions.None);
}
Is there a way I can get the same results using Unity Cloud?
Thank you!