private void Start()
 {
     _rb = GetComponent<Rigidbody2D>();
     _mainParticle = Particle[0];
     _shootingScript = _mainParticle.GetComponent<ShootingScript>();
     _shootingScript.Init();
 }
 private void ChangeWeapon(int weaponNumber)
 {
     _shootingScript.Stop();
     _mainParticle = Particle[weaponNumber];
     _shootingScript = _mainParticle.GetComponent<ShootingScript>();
     _shootingScript.Init();
     if (Input.GetButton("Fire1"))
     {
         _shootingScript.Play();
     }
 }