- Home /
Question by
MrDuskling · Jul 22, 2010 at 02:50 PM ·
raycasthitsign
Raycast hit sign or somthing!??!
Hey i want a GUI.Tooltip to be displayed when my mouse hovers over an object in my scene. sort of like a sign. when i hover over the sign, it would say "North". should i use raycasts for this??
Comment
Answer by equalsequals · Jul 22, 2010 at 03:32 PM
If you give the object a collider component you can use the OnMouseOver function in any MonoBehaviour derivative to detect mouse over events.
Hope that helps.
==
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
NullReferenceException: Object reference not set to an instance of an object Raycast...? 1 Answer
How can I get back a hit? 1 Answer
Raycast Destroy(hit.collider.gameObject); (Still need help) 1 Answer
Effect only one gameobject when multiply have the same script 1 Answer