U4.6 - Equivalent command to NGUI's UIButton.current to detect which button was clicked

Anyone know if Unity has an equivalent command?

Not seeing anything like it here


Not seen one for the new UI although I’ve not gone through all the documantation, I did answer this question the other day where you can have one script handle all buttons.


So you could handle it that way even if there isn’t a built in function for it.