示例#1
0
 public void ThreeDMode()
 {
     ARCam.SetActive(false);
     ThreeDCam.SetActive(true);
     switchToAR.SetActive(true);
     switchTo3D.SetActive(false);
     ARCanvasDisplay.SetActive(false);
     MeshSwitch.TurnOnMeshes();
 }
示例#2
0
 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();
 }
示例#3
0
 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();                     // ""
 }