Пример #1
0
 public void OnDash(InputAction.CallbackContext context)
 {
     if (context.started || context.canceled || context.performed)
     {
         bool dashing = context.ReadValueAsButton();
         _charController.Dash(dashing);
     }
 }