Unity Print Name Of Button When Click On It

[Solved] Unity Print Name Of Button When Click On It | Vb - Code Explorer | yomemimo.com
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

Answers related to unity print name of button when click on it

Code Explorer Popular Question For Vb