private void OnTriggerEnter2D(Collider2D collision)
 {
     if (ammoOnGun > 0 && collision.gameObject.name == "Player")
     {
         PlayerGeneralShootController playerShootController = collision.gameObject.GetComponent <PlayerGeneralShootController>();
         playerShootController.ammoPerGunType[gun.gunType] += ammoOnGun;
         playerShootController.CorrectAmmoText();
         ammoOnGun = 0;
     }
 }
 private void Awake()
 {
     playerGeneralShootController = GetComponent <PlayerGeneralShootController>();
 }
 private void Awake()
 {
     playerShootController = transform.parent.GetComponent <PlayerGeneralShootController>();
 }
 public void Start()
 {
     _particleSystem = GetComponent <ParticleSystem>();
     playerGeneralShootController = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerGeneralShootController>();
 }