I’m trying to code a GUIText rollover using a ray and was wondering, can I even get a raycast hit from a GUIText?
Raycasts only do things in the 3D world, while the GUI exists only in the 2D flat plane. So raycasts aren’t what you’re looking for.
For GUIText, you can use guiText.GetScreenRect().Contains(Input.mousePosition) to determine a mouseover.
Where do you come from with all of this superhuman Unity knowledge anyway, StarManta?
Thanks!