I'm trying to make a script that "touches" the screen in order to trigger the eventsystem (trying to optimise that first lag spike). How can I make a script that does that?
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
115 People are following this question.
On touch in a rectangle
touch of the screen interacts along with buttons on the screen
Opposite moving object?
useDragThreshold is set to false, but the threshold is still there...
(Solved) OnPointerUp not called