Hi,
I have a very simple script (java)
function Awake(){
cam.genericEventHandler = this.gameObject;
}
function OnClick(){
print("clicked");
}
Now I would expect to get the OnClick event on every touch, either on gameobjects or in the empty background.
However, it only (seemingly random), prints "clicked'....
I have no idea what I am doing wrong and couldnt find it anywhere.