OnClick not showing the functions in script

Unity button onclick function script callback gameobject notes:

For sliders and dropdowns and other value-returning UI elements:

And passing “more interesting” things when buttons are pressed: