Exemplo n.º 1
0
 private void HandleMapVisibility(bool visible)
 {
     if (mapTouchController != null)
     {
         mapTouchController.EnableTouch(visible);
         mapTouchController.EnableDoubleTap(visible);
         mapTouchController.EnableCamera(visible);
         controller.EnableARCam(!visible);
     }
 }
Exemplo n.º 2
0
 private void HandleMapVisibility(bool visible)
 {
     if (mapTouchController != null)
     {
         mapTouchController.EnableTouch(visible);
         mapTouchController.EnableDoubleTap(visible);
         mapTouchController.camera = GameObject.Find("MapCamera").GetComponent <Camera>();
         mapTouchController.EnableCamera(visible);
         controller.EnableARCam(!visible);
     }
 }