// Update is called once per frame void Update() { movementController.MoveHorizontal(Input.GetAxisRaw("Horizontal")); movementController.MoveVertical(Input.GetAxisRaw("Vertical")); if (Input.GetButtonDown("Jump")) { dash.TryDoDash(); } if (Input.GetKeyDown(KeyCode.Escape)) { inventoryMenu.InvertUI(); } }