Change label text when mouse cursor is over a button
Posted: Tue Dec 21, 2010 10:40 pm
Hi people. I need help with code... again .
I have two label text with two buttons, as this:
So, in the default properties I've set a default text for labels... but I would it appears the mylabel1's text when the player move the cursor or select button1, and viceversa... button2->mylabel2 text.
What's the ideal code to do this? Anyway if there's a simplest way is really appreciate .
I have two label text with two buttons, as this:
Code: Select all
var localized string mylabel1;
var localized string mylabel2;
var MenuUIActionButtonWindow button1;
var MenuUIActionButtonWindow button2;
What's the ideal code to do this? Anyway if there's a simplest way is really appreciate .