private void Update()
    {
        if (rig == null || rig.gameObject.activeSelf == false)
        {
            return;
        }

        if (AirXRInput.GetDown(rig, AirXRInput.Button.Y))
        {
            rig.Disconnect();
            return;
        }

        if (AirXRInput.GetDown(rig, AirXRInput.Button.RIndexTrigger) ||
            AirXRInput.GetDown(rig, AirXRInput.Button.A))
        {
            if (ui.IsOnPointer())
            {
                return;
            }

            if (ui.IsFadeOut() || !ui.IsActiveCanvas())
            {
                ui.PopUp();
                return;
            }

            ui.FadeOut();
        }
    }
    void Update()
    {
        if (rig.gameObject.activeSelf == false)
        {
            return;
        }

        if (AirXRInput.GetDown(rig, AirXRInput.Button.RIndexTrigger))
        {
            onGetKeyDown.Invoke();
        }
        if (AirXRInput.GetUp(rig, AirXRInput.Button.RIndexTrigger))
        {
            onGetKeyUp.Invoke();
        }
    }