Can't access functions on my UI button


103481-2.png

I’m not able to access the “Script’s” functions with my UI button Event Trigger.
I created a GameObject and placed “Script” on it and then dragged that GameObject to Event Trigger but still I’m not able to access the functions on my script.

Nevermind, I solved the issue.
I didn’t declare the functions as public.