- Home /
Unity Event Trigger iOS
Greetings,
I have a scene with a camera that has a physics2DRaycaster, a sprite with a box collider and event trigger aswell as an event system.
In the event trigger I have an OnPointerClick() event. It works in the Unity Editor, but does not work on iOS... I am completely lost.... Please assist
Answer by Rs · Oct 24, 2016 at 09:47 AM
I think your problem is one, some or all in this list:
You don't have an EventSystem in your scene. Unity creates one automatically when you create a Canvas.
Your EventSystem object doesn't have a Standalone Input Module (Touch Input Module isn't needed anymore as all is now managed by Standalone Input Module)
Your object is not inside a Canvas
Finally, rather than PointerClick, for touch devices you should use PointerDown and PointerUp
Your answer
![](https://koobas.hobune.stream/wayback/20220611235725im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Activity Indicator Centered 0 Answers
Open galley for ios 0 Answers
Detect the swipe and add force respective to it? 3 Answers
Make object follow my finger (Touch)? 1 Answer
Mobile swipes causing player to move different distances randomly 0 Answers