Hi,
how can i change the backgroundimage of an button, when it is clicked.
For example there is a menu like the build-menu of simcity. You click one of the buttons and it appears some sort of sub-menu. Now the clicked button looks different to the others. So you can see, you are in that special submenu.
An other simple example is a button to switch windowed-mode to full-screen and back. It is the same button but an other image you will see.
Is there something like:
function OnClick() {
// do something special
// change the backgroundimage of this button
}