private void OnTriggerEnter(Collider other) { if (other.CompareTag("BulletBox")) { gunController.ChangeBulletCount(bulletBoxValue); StartCoroutine(RespawnPowerUp(other)); } else if (other.CompareTag("RocketBox")) { cannonController.ChangeRocketCount(rocketBoxValue); StartCoroutine(RespawnPowerUp(other)); } }