//Used to start tracking a dataset
 protected override void ActuallyShowObject(SimplifyXRTargetAdapter toShow)
 {
     try
     {
         if (!myActiveObject.GetAllObjects().Contains(toShow))
         {
             myActiveObject.TrackObject(toShow);
         }
         ARFoundationAdapter adapter = toShow as ARFoundationAdapter;
         //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))
         {
             ARFoundationAdapter adapter = toHide as ARFoundationAdapter;
             //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()));
     }
 }