unity anymouse click code example
Example: left moust click unity
//Left mouse Click
if(Input.GetMouseButtonDown(0))
//Right Mouse Click
if(Input.GetMouseButtonDown(1))
//Scroll Wheel
if(Input.GetMouseButtonDown(2))
//Left mouse Click
if(Input.GetMouseButtonDown(0))
//Right Mouse Click
if(Input.GetMouseButtonDown(1))
//Scroll Wheel
if(Input.GetMouseButtonDown(2))