Question by
nuocmam · Mar 05, 2016 at 03:55 PM ·
onmouseenter
Newbie: How do I detect a text object and move it?
Hi,
I want to be able to detect a mouse/touch event on a UI Text object to move it and change its color/size. I've tried OnMouseOver() but it's not getting recognized.
void OnMouseEnter() { oneText.fontSize = 40; Debug.Log("OnMouseEnter"); }
Thanks!
Comment