custom events

I have written a custom event for OnPointerClick for my Input field instead of default script. In add component menu, custom event script is not updated. Can you help me?

You’ll need to add the IPointerDownHandler interface to your script, so that the events system will call it