Input from UI Button unity code example
Example: input get button uibutton
public void ButtonClick()
{
//Do whatever you want here
}
public void ButtonClick()
{
//Do whatever you want here
}