Inject clicks (or touches)

Hi there,

I am trying to make a monkey test. I need to be able to “click” anywhere on the screen programatically. My main problem is the GUI uses OnGUI system, and all the buttons uses GUI.Button() so I can’t use my own input system (which would be easy to inject this kind of things in).

Do you guys can help me or point me in any direction to search?

I guess an approach could be using reflection but I am not sure about this…

Thanks in advance!

Push.
Being able to set the touches of Input.touches would also be awesome.