private void ChooseGun() { if (RaycastShoot.GetIfShot() && WeaponSwitching.GetSelectedWeapon() == 0) { //int score = EnemyController.GetScore(); if (EnemyController.GotShot()) { _currentScore += 5; IncreaseScore(_currentScore); } } if (RaycastShoot.GetIfShot() && WeaponSwitching.GetSelectedWeapon() == 1) { //int score = EnemyController.GetScore(); if (EnemyController.GotShot()) { _currentScore += 1; IncreaseScore(_currentScore); } } }