- Home /
Gui grid text color changing and mouse hover
Is there a way to specifically set a whole grid button/its text to be a certain color? I know of gui skins, but not how to set individual colors of buttons. I made of grid of buttons for an attack move page- the player clicks a buttons to choose a specific attack, either elemental, physical, healing, etc. I am trying to color the buttons so that the player will know instantly what kind of attack is what by its color and not just is name. I assign attacks to buttons with different arrays of info, ie- the level to learn it attack, the type of animation to play, the special fx to instantiate, etc. Is is possible to include another array of colors to assign to each grid button?
Also, I know you can get a texture to appear when you hover over a button. I remember seeing it in the docs, but it didn't specify how to that with grid buttons. Could someone please give me an example of how to do that properly with a grid?
Thank you