/// <summary>
 /// Uninitializes and removes the reprojection updater component.
 /// </summary>
 private void UninitializeReprojectionUpdater()
 {
     if (reprojectionUpdater != null)
     {
         UnityObjectExtensions.DestroyObject(reprojectionUpdater);
         reprojectionUpdater = null;
     }
 }
 /// <summary>
 /// Adds and initializes the reprojection updater component.
 /// </summary>
 private void InitializeReprojectionUpdater()
 {
     if (reprojectionUpdater == null && Profile != null)
     {
         reprojectionUpdater = CameraCache.Main.EnsureComponent <WindowsMixedRealityReprojectionUpdater>();
         reprojectionUpdater.ReprojectionMethod = Profile.ReprojectionMethod;
     }
 }