Hi, is there anyone who would like to share some scripting skills..? I'm looking for a 1st person controller/mouse look where an arrow or hand becomes visible only when center screen (where also the arrow/hand is placed) gets close to anything clickable (buttons etc). Appreciate help of any kind!
Do a Raycast from the center of the screen. http://unity3d.com/learn/tutorials/modules/beginner/physics/raycasting http://docs.unity3d.com/ScriptReference/Physics.Raycast.html Check the tag of the gameObject that the Raycast Hit. http://docs.unity3d.com/Manual/Tags.html http://docs.unity3d.com/ScriptReference/GameObject-tag.html http://docs.unity3d.com/ScriptReference/RaycastHit.html