public static void CommandLineSetup() { var cliConfigManager = new CliConfigManager(); cliConfigManager.ConfigureFromCmdlineArgs(); //Special check that will setup the Windows Holographic Emulation window prior to running any tests. #if UNITY_WSA //Ideally we would just access simulationMode in cliConfigManager.PlatformSettings. //Unfortunately that isn't publicly exposed at the moment, so we'll just use regex to quickly determine the SimulationMode. string SimulationMode = getSimulationMode(); Debug.Log("Regex thinks the simulation mode is SimulationMode=" + SimulationMode); if (SimulationMode == "hololens") { WindowsMRFunctionTestBase.SetupHolographicEmulationWindow(true); } else { WindowsMRFunctionTestBase.SetupHolographicEmulationWindow(false); } #endif }
public static void CommandLineSetup() { var cliConfigManager = new CliConfigManager(); cliConfigManager.ConfigureFromCmdlineArgs(); }