void HandleCameraToggle(bool enable, Transform targetCamera, bool focusing) { if (enable) { freePivotController.AttachToTarget(targetCamera); if (freePivotController.focusHandler != null) { if (focusing) { freePivotController.focusHandler.StartFocus(); } else { freePivotController.focusHandler.CancelFocus(instantly: true); } } } }