I have this working fine for the touch versions of my game and also when I use similar code with GUITextures and mouse it works fine, this just isn’t:
if (ContinueButton.HitTest(Input.mousePosition) && Input.GetMouseButtonDown(0) && bGameIsPaused)
{
Pause();
}
ContinueButton is a GUIText. Is there any reason this wouldn’t work?