so how can I set up the imput manager so one is the left mouse button, i want to make it so when you press the left mouse button you shoot
You can use the below instead.
if(Input.GetMouseButton(0)){
//Your firing code here
}
Is there any way to make it so its on button press, cause at the moment its making a huge stream of bullit’s
use
if(Input.GetMouseButtonDown(0)==true)
{
//fire
}