I have several buttons on the screen.
All buttons have an “on click” Function. All buttons calling this function here: “ButtonClicked”.
Now, what I want to do is this here:
public void ButtonClicked() {
if (buttonName == "save") {
// ... do something
}
if (buttonName == "load") {
// ... do something
}
}