// Update is called once per frame
        void Update()
        {
            if (isRemapping)
            {
                KeyCode pressed = BindingUtils.GetAnyPressedKey();
                if (pressed != KeyCode.None)
                {
                    BindingManager.Rebind(bindingToMap, pressed);
                    BindingUtils.UpdateTextWithBinding(bindingToMap, buttonText);

                    BindingManager.IsRemapping = false;
                    isRemapping = false;
                }
            }
        }