|
|
|
|
|
|
} |
|
|
|
public void OnCancel(InputAction.CallbackContext context) |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
if (context.phase == InputActionPhase.Performed) |
|
|
|
closeInventoryEvent.Invoke(); |
|
|
|
} |
|
|
|
|
|
|
menuConfirmEvent(); |
|
|
|
} |
|
|
|
|
|
|
|
/* public void OnCancel(InputAction.CallbackContext context) |
|
|
|
{ |
|
|
|
if (context.phase == InputActionPhase.Performed) |
|
|
|
menuCancelEvent(); |
|
|
|
}*/ |
|
|
|
/* public void OnCancel(InputAction.CallbackContext context) |
|
|
|
{ |
|
|
|
if (context.phase == InputActionPhase.Performed) |
|
|
|
menuCancelEvent(); |
|
|
|
}*/ |
|
|
|
|
|
|
|
public void OnMouseMove(InputAction.CallbackContext context) |
|
|
|
{ |
|
|
|