unity checking for mouse down code example
Example: unity left mouse button
//Key Code in the Input Project Settings is "mouse 0"
Input.GetKey(KeyCode.Mouse0))
//Key Code in the Input Project Settings is "mouse 0"
Input.GetKey(KeyCode.Mouse0))