public void OnDash(InputAction.CallbackContext context) { if (context.started || context.canceled || context.performed) { bool dashing = context.ReadValueAsButton(); _charController.Dash(dashing); } }