private void LoadGunController() { gunController = carriedGun.GetComponent <GunController>(); if (gunType == GunsConstants.SubmachinegunGunType()) { health = 2; gunController.MediumEnemyGun(); } else if (gunType == GunsConstants.MachinegunGunType()) { health = 3; gunController.SuperEnemyGun(); } else if (gunType == GunsConstants.BossGunType()) { health = 6; gunController.SuperEnemyGun(); } else { health = 1; gunController.BasicEnemyGun(); } }