Example #1
0
 public void ShootWeapon()
 {
     if (_isReloading == false)
     {
         StartCoroutine(AnimHandling());
         _hitScanWeapon.Shoot();
         StartCoroutine(Reload());
     }
 }
Example #2
0
 private void OnEnable()
 {
     weapon.Shoot(_transform);
     StartCoroutine(WeaponEffect());
 }