void Update()
    {
        // Get the distance between the headset and the goggles
        float dist = Vector3.Distance(gameObject.transform.position, centerEyeAnchor.transform.position);

        // If the distance is within the threshold, and a fade has not yet been initialized, initialize a fade
        if (dist <= threshold && !sceneFader.IsFading())
        {
            sceneFader.StartFade();
        }
    }