public void Setup(string _toMap)
        {
            bindingToMap = _toMap;

            button.onClick.AddListener(OnClick);
            bindingName.text = _toMap;

            BindingUtils.UpdateTextWithBinding(bindingToMap, buttonText);
            gameObject.SetActive(true);
        }
        private void Update()
        {
            if (isRebinding)
            {
                KeyCode pressed = BindingUtils.GetAnyPressedKey();
                if (pressed != KeyCode.None)
                {
                    BindingManager.Rebind(bindingToMap, pressed);
                    BindingUtils.UpdateTextWithBinding(bindingToMap, buttonText);

                    isRebinding = false;
                }
            }
        }