So I am drawing about 22 buttons via a for loop. About half these buttons are drawn inside just OnGUI, the other half are drawn inside a GUI.Window
I notice that all the buttons drawn inside GUI.Window are not as responsive. Every button drawn in OnGUI, you just slightly touch it, and it goes. But the buttons inside the GUI.Window, you slightly touch them, sometimes they go, sometimes they don’t. Typically it seems you have to hold your finger on the button for a split millisecond and then release in order for it to go, but even then, sometimes it does not go. It seems like 20% of the time you have to tap it a 2-3 times for it to go.
Is this behavior normal? I have tried placed my GUI.Window call at both the top and the bottom of my OnGUI function to see if maybe draw the window first would help. But it doesn’t. It seems to be something specifically about the buttons just being a GUI.Window. Has anyone else run into this? Is there any solution? OR should I just switch to using only GUI.
Also, does GUILayout work properly on iOS? (read somewhere it had issues)