unity get button right mouse 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))