'Unity, getting the name of the UI button

Tell me, please, can I get the name of a UI-button in Unity from the method which is hung on my button (OnClick())? How?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source