unity add function to event trigger code example
Example: unity event trigger click
There are two possible ways I can think of:
- Try extending EventTrigger
- Override OnPointerClick
There are two possible ways I can think of:
- Try extending EventTrigger
- Override OnPointerClick