private void Update() { if (playerState == PlayerState.InputBlocked) { HideGunAiming(); return; } if (shootCor == null) { input.UpdateMe(playerPivot, Shoot); AimTheGun(); playerState = PlayerState.Aiming; } else { HideGunAiming(); playerState = PlayerState.ShootInProgress; } }