Is there a way to know any GUI.Button was pressed?

So I want to play button click sound effect when every unity-GUI.Button was pressed.

But I don’t want to attach play-sound function to all of GUI.Button’s below.

IS there a generic way?

How to do it?

You could create your own static class with a static method that calls GUI.Button, and then in that method you could play the sound. You would then need to replace all your GUI.Button calls with this new method.