//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()));
     }
 }