iBug
0
Q:

left moust click unity

//Left mouse Click
if(Input.GetMouseButtonDown(0))

//Right Mouse Click
if(Input.GetMouseButtonDown(1))

//Scroll Wheel
if(Input.GetMouseButtonDown(2))
4
//Key Code in the Input Project Settings is "mouse 0"
Input.GetKey(KeyCode.Mouse0))
11
       if (Input.GetMouseButtonDown(1))
//This is too stop spaming the gun 
         
1

New to Communities?

Join the community