This video shows how to call a function from a script using the OnPointerDown event.
How to Call a Function from Script Using Button On Click Event:
https://www.youtube.com/watch?v=I63uHchmCxc
Download
0 formats
No download links available.
Unity - Call a Function from Script Using Pointer Event | NatokHD