I have a "fire" button,a very simple On GUI ... If(GUI.Button..., click bang! works well.
But I also have a joystick on the other side, that works via GUI texture iphone input touch.
while I am moving the character around with the joystick, the fire button does not register when I click it. only when I let go of the joystick can I fire.
The OnGUI system currently has no support for multi-touch, although it probably should work in combination with other elements. It's best to leave OnGUI out of gameplay anyway for performance reasons (can still be used with menus OK).
Check out the iphone example projects in the unity3d.com - support - resources section, they contain code for input sticks etc tailored for the iphone.
Hi, In order to make the button clickable while moving with the joystick/or another button is active you need to manage the multi touch with TouchCount in the Update(), here a sample: