I have spent the last hour trying to find out how to make it so if my GUITexture is clicked, something will happen. I am using UnityScript, and I thought this should work, but it doesn't. This script is applied to the GUITexture game object.
function OnMouseDown()
{
print("Button Clicked");
}