- Home /
Question by
newfinalflashers · Sep 25, 2015 at 01:39 AM ·
uieventsystemhighlighting
How to sense if a button is being highlited from other script.
I am trying to sense if one of the buttons I have in my menu is being highlighted so I can add a blinking effect through it, but I do not want to have a script for each objects (over 40 scripts), because I want to optimize this game by combining all of the menu into one script, how would I accomplish this. May I please have a piece of sample code.
Comment
Any answers would greatly be appreciated thank you.
How would I Use pointerEnter, sorry but the Unity Definition does not give me enough information on how to actually use it.