Button onClick() not showing function

In my button in the on click section it doesn’t show the functions of the script.

Set your function to public
Of course your class must be public and derive from MonoBehaviour

they were public but one was not and after fixing it works but idk why the others were not showing who were public anyways thanks