- Home /
How do you make image links in the Main Menu light up/glow when hovering?
Hey, I'm trying to make the image links in my game light up or glow when hovering "Like some website links do" I'm new to Unity and don't really know a whole lot C# yet. If someone could help me figure out what to do that would be great. Thanks.
Answer by kubci98 · Jun 23, 2013 at 09:04 AM
http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.OnMouseOver.html http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.OnMouseEnter.html http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.OnMouseExit.html
http://docs.unity3d.com/Documentation/ScriptReference/Renderer-material.html http://docs.unity3d.com/Documentation/ScriptReference/Material.html
Hope these will help you. You can use renderer.material.shader to set shader self-illumin, light.enabled = true to make an object glow. I hope you will figure out other things :).
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
How do i start a game with Unity, what do i need first? 0 Answers
3D Gravity towards one object 3 Answers
Intensifying rate over time... 1 Answer
Distribute terrain in zones 3 Answers