How to change button's appearance dynamically?

When a game is playing,How to change a button’s appearance?
Can anybody help me?