void Atirar() { if (municao > 0) { recuo.MexendoCamera(0.03f, 0.2f); Instantiate(bala, spawnBala.position, Quaternion.identity); municao -= 1; } }
void Atirar() { if (municao > 0) { recuo.MexendoCamera(0.06f, 0.2f); Instantiate(bala, spawnBala.position, Quaternion.identity); municao -= 1; Debug.Log("Munição restante " + municao); } }