I am seeing a lot of answers to questions which require Rectangles and prior knowledge of checking if GUIs are pressed. I am not quite following it.
In its simplest form, how do you check if a GUI Text is clicked with the mouse?
I am seeing a lot of answers to questions which require Rectangles and prior knowledge of checking if GUIs are pressed. I am not quite following it.
In its simplest form, how do you check if a GUI Text is clicked with the mouse?
If you’re talking about a GUIText object (GameObject with GUIText component), then just use the OnMouseDown function. No colliders are necessary.