public override void FreshSpawnWeapon()
 {
     base.FreshSpawnWeapon();
     rangedData = weaponItemData as WeaponItemRanged;
     muzzleFlash.Init();
     currentAmmoInMagazine = rangedData.maxMagazineAmmoAmount;
     audioSource           = GetComponent <AudioSource>();
 }
 public virtual void Init(float targetSpeed, LayerMask targetMask, int damageToDeal, WeaponItem weapon)
 {
     layerMask             = targetMask;
     speed                 = targetSpeed;
     damage                = damageToDeal;
     weaponItem            = weapon as WeaponItemRanged;
     originalFiredPosition = transform.position;
 }