//Used to start tracking a dataset
 protected override void ActuallyShowObject(SimplifyXRTargetAdapter toShow)
 {
     try
     {
         if (!myActiveObject.GetAllObjects().Contains(toShow))
         {
             myActiveObject.TrackObject(toShow);
         }
         ARFoundationAdapterPlanes adapter = toShow as ARFoundationAdapterPlanes;
         //TODO Start the tracking
         adapter.StartTracking();
         SimplifyXRDebug.SimplifyXRLog(SimplifyXRDebug.Type.DeveloperDebug, "Tracking the passed SimplifyXRTarget {0}.", SimplifyXRDebug.Args(toShow.GetTargetName()));
     }
     catch
     {
         SimplifyXRDebug.SimplifyXRLog(SimplifyXRDebug.Type.DeveloperDebug, "The passed SimplifyXRTarget {0} is not a vuforia target. Please change target manager behaviors before attempting to load this target", SimplifyXRDebug.Args(toShow.GetTargetName()));
     }
 }
 //Used to stop tracking a dataset
 protected override void ActuallyHideObject(SimplifyXRTargetAdapter toHide)
 {
     try
     {
         //see of the object has already been loaded
         if (myActiveObject.GetAllObjects().Contains(toHide))
         {
             ARFoundationAdapterPlanes adapter = toHide as ARFoundationAdapterPlanes;
             //TODO stop the tracker
             adapter.StopTracking();
             SimplifyXRDebug.SimplifyXRLog(SimplifyXRDebug.Type.DeveloperDebug, "Stoping Tracking the passed SimplifyXRTarget {0}.", SimplifyXRDebug.Args(toHide.GetTargetName()));
         }
         else
         {
             SimplifyXRDebug.SimplifyXRLog(SimplifyXRDebug.Type.DeveloperDebug, "The passed SimplifyXRTarget {0} is being tracked by this manager. Please track the target before calling this method.", SimplifyXRDebug.Args(toHide.GetTargetName()));
         }
     }
     catch
     {
         SimplifyXRDebug.SimplifyXRLog(SimplifyXRDebug.Type.DeveloperDebug, "The passed SimplifyXRTarget {0} is not a VisionLib target. Please change target manager behaviors before attempting to unload this target", SimplifyXRDebug.Args(toHide.GetTargetName()));
     }
 }