Hi,
I’m new in this forum, so support me , and sorry for newbie question…
i want to ask, how to make GUI Text is touchable when its being click. i’m using unity 3.0 for iphone. i know i can do GUI.Button, but i want GUI Text to do the same.
i try this code, but dunno how to implement proceed
var hit : RaycastHit;
var ray = Camera.main.ScreenPointToRay (Input.mousePosition);
for(touch in Input.touches) {
//how to code in here, when i want only that GUI Text is clicked to do something.
}
Thx