Ejemplo n.º 1
0
 public void OnDodge(CallbackContext context)
 {
     Debug.Log("OnDodge ok");
     if (combat == null || inputBlock || !context.performed)
     {
         return;
     }
     combat.Dodge(context.ReadValue <float>());
 }