Quantcast
Viewing all articles
Browse latest Browse all 99

Answer by murkantilism

So you want the button to become larger when the mouse scrolls over it? Or it's becoming larger and you don't what it to? Assuming you *want* it to become bigger, use [OnMouseEnter](http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.OnMouseEnter.html). That will tell you when the mouse has scrolled over the button. Then within the OnMouseEnter function, change the size of the button to make it bigger.

Viewing all articles
Browse latest Browse all 99

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>