Can I touch GUI button on touch screen. In my script, I write this code for button click with unity c# script on Unity3d game engine.
if(GUI.Button(new Rect(100,100, 300,300),"ok",style) {
//do stuff
}
When I use mouse click, it makes actions but on the touch screen, it is not work. I want to use it with both mouse click and touch on button. So can you advice how to make it?