public void ThreeDMode() { ARCam.SetActive(false); ThreeDCam.SetActive(true); switchToAR.SetActive(true); switchTo3D.SetActive(false); ARCanvasDisplay.SetActive(false); MeshSwitch.TurnOnMeshes(); }
public void ThreeDMode() //same as above function but opposite { ARCam.SetActive(false); ThreeDCam.SetActive(true); switchToAR.SetActive(true); switchTo3D.SetActive(false); areaTargets.SetActive(false); MeshSwitch.TurnOnMeshes(); showOrderBar.HideBars(); buildOptions.HideBar(); }
public void ARMode() { ThreeDCam.SetActive(false); //sets GO inactive ARCam.SetActive(true); //sets GO active switchToAR.SetActive(false); //sets GO inactive switchTo3D.SetActive(true); //sets GO ctive areaTargets.SetActive(true); // "" MeshSwitch.TurnOffMeshes(); //calls function from refernced script showOrderBar.HideBars(); // "" buildOptions.HideBar(); // "" }