private void ComprobarInputDisparo() { if (Input.GetButtonDown("Fire1")) { armaEquipada.ApretarGatillo(); } if (Input.GetButtonUp("Fire1")) { armaEquipada.SoltarGatillo(); } if (Input.GetKeyDown(KeyCode.R)) { armaEquipada.Recargar(); } }
private void ComprobarInputDisparo() { if (Input.GetButtonDown("Fire1")) { armaEquipada.ApretarGatillo(); } if (Input.GetButtonUp("Fire1")) { armaEquipada.SoltarGatillo(); } if (Input.GetKeyDown(KeyCode.R)) { armaEquipada.Recargar(); } }