using System.Collections; using System.Collections.Generic; using UnityEngine; public class Weapon : Gun { // Firerate of weapon private float firerate; // Strength of recoil private float recoilStrength; // Current ammunition in magazin private int currentAmmunition; // Full magazin Size private int magazinSize; // Total ammunition private int totalAmmunition; // Bullet exit (Muzzle) private GameObject bulletExit; // Allow action of weapon (shoot, reload, aim, drop, ...) private bool allowAction; // Getter }