Example #1
0
 public void OnScan(InputAction.CallbackContext value)
 {
     if (isAiming && value.started)
     {
         _shooting.Scan();
     }
     if (value.started)
     {
         isInteract = true;
     }
     if (value.canceled)
     {
         isInteract = false;
     }
 }