public void OnEnable()
        {
            if (inputAction == null)
            {
                inputAction = new UIInputActions();
            }

            inputAction.Enable();

            foreach (KeyValuePair <InputType, Action> keyValuePair in toRebind)
            {
                Bind(keyValuePair.Key, keyValuePair.Value);
            }
        }
 public void Start()
 {
     inputAction = new UIInputActions();
 }