I have a gesture recognition software. I want to perform a click by calling Input.GetButtonDown("Fire1") when user waves his hand. Right now I have:
public void Wave(){
if(waving code){
Debug.Log("user waved");
Input.GetButtonDown("Fire1");
}
}
The "user waved" log shows just fine but the click is not performed. If anybody can help me with that or suggest an alternative, I would appreciate it.