// Update is called once per frame private void Update() { if (Input.GetKeyUp(KeyCode.E) && bomb.bombDeployCheck) { bomb.Deployed(); DeployBomb(); } }