How can I do if I want the onclick function happen on the gameobjects,
which means that if I click on one gameobject, that do something.
How can I implement onclick function on this.
It is because I have tried to add UIcamera on Main Camera, add box collider with trigger on the gameobject and put a script that has OnClick function inside, but it does not work properly, it seems that only a few location I clicked on and so the onclick event begin.