The property Input.anyKey returns true if a mouse button is pressed down. Can anyone think of an easy way to have this apply to only things like the keyboard? Input.anyKeyOnKeyboard
-Jon
The property Input.anyKey returns true if a mouse button is pressed down. Can anyone think of an easy way to have this apply to only things like the keyboard? Input.anyKeyOnKeyboard
-Jon
if (Input.anyKey !Input.GetMouseButton(0) !Input.GetMouseButton(1) !Input.GetMouseButton(2) ) {
//Do whatever
}
–Eric