Question : unity print name of button when click on it
Answered by : arnaud-4cdxlp3wr1wt
public void OnClicked(Button button) { print(button.name); } //You then have to drag your button containing this script in the script area
Source : | Last Update : Sun, 05 Jun 22